Enum prql_compiler::ast::pl::expr::TableExternRef
source · pub enum TableExternRef {
LocalTable(String),
Anchor(String),
}Expand description
A reference to a table that is not in scope of this query.
Variants§
LocalTable(String)
Actual table in a database, that we can refer to by name in SQL
Anchor(String)
Placeholder for a relation that will be provided later. This is very similar to relational s-strings and may not even be needed for now, so it’s not documented anywhere. But it will be used in the future.
Trait Implementations§
source§impl Clone for TableExternRef
impl Clone for TableExternRef
source§fn clone(&self) -> TableExternRef
fn clone(&self) -> TableExternRef
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TableExternRef
impl Debug for TableExternRef
source§impl<'de> Deserialize<'de> for TableExternRef
impl<'de> Deserialize<'de> for TableExternRef
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<TableExternRef> for TableExternRef
impl PartialEq<TableExternRef> for TableExternRef
source§fn eq(&self, other: &TableExternRef) -> bool
fn eq(&self, other: &TableExternRef) -> bool
This method tests for
self and other values to be equal, and is used
by ==.