pub enum TableFunctionKind {
Unnest,
GenerateSeries,
}Expand description
FROM-clause table functions Alopex can plan (issue #151).
The registry is closed: a name outside this set is a planning error rather than a call into an open function namespace.
Variants§
Unnest
UNNEST(vector) — one row per element.
GenerateSeries
GENERATE_SERIES(...) — reserved for issue #157; planning rejects it.
Implementations§
Source§impl TableFunctionKind
impl TableFunctionKind
Sourcepub fn from_name(name: &str) -> Option<Self>
pub fn from_name(name: &str) -> Option<Self>
Resolve a FROM-clause function name, case-insensitively.
Sourcepub fn name(self) -> &'static str
pub fn name(self) -> &'static str
Canonical uppercase spelling used in messages and plan output.
Sourcepub fn default_relation_name(self) -> &'static str
pub fn default_relation_name(self) -> &'static str
Default relation name when the item carries no alias (PostgreSQL uses the lowercase function name).
Trait Implementations§
Source§impl Clone for TableFunctionKind
impl Clone for TableFunctionKind
Source§fn clone(&self) -> TableFunctionKind
fn clone(&self) -> TableFunctionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TableFunctionKind
Source§impl Debug for TableFunctionKind
impl Debug for TableFunctionKind
impl Eq for TableFunctionKind
Source§impl PartialEq for TableFunctionKind
impl PartialEq for TableFunctionKind
impl StructuralPartialEq for TableFunctionKind
Auto Trait Implementations§
impl Freeze for TableFunctionKind
impl RefUnwindSafe for TableFunctionKind
impl Send for TableFunctionKind
impl Sync for TableFunctionKind
impl Unpin for TableFunctionKind
impl UnsafeUnpin for TableFunctionKind
impl UnwindSafe for TableFunctionKind
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more