Expand description
Base types used throughout sea-query.
Modules§
- qualification 🔒
- Conversion traits/impls for “potentially qualified” names like
(schema?).(table?).column
.
Structs§
- Alias
- An explicit wrapper for
Iden
s which are dynamic user-provided strings. - Asterisk
- Asterisk (“*”)
- Column
Name - A column name, potentially qualified as
(database.)(schema.)(table.)column
. - Database
Name - An identifier that represents a database name.
- DynIden
- A prepared (quoted) identifier string.
- Like
Expr - Like Expression
- Null
Alias - Null Alias
- Order
Expr - Order expression
- Quote
- Schema
Name - A schema name, potentially qualified as
(database.)schema
. - SeaRc
- A legacy namespace for compatibility.
- Table
Name - A table name, potentially qualified as
(database.)(schema.)table
. - TypeRef
- An SQL type name, potentially qualified as
(database.)(schema.)type
.
Enums§
- BinOper
- Binary operators.
- Column
Ref - Column references.
- JoinOn
- Join on types
- Join
Type - Join types
- Keyword
- Known SQL keywords that can be used as expressions.
- Logical
Chain Oper - Logical chain operator: conjunction or disjunction.
- Null
Ordering - Nulls order
- Order
- Ordering options
- SubQuery
Oper - SubQuery operators
- Table
Ref - Table references
- UnOper
- Unary operators.
Traits§
- Iden
- Identifier
- Iden
List - Iden
Static - Identifier statically known at compile-time.
- Into
Column Ref - Into
Iden - Into
Like Expr - Into
Table Ref - Into
Type Ref - Maybe
Qualified Once - A name that can be unqualified (
foo
) or qualified once (foo.bar
). - Maybe
Qualified Twice - A name that can be unqualified (
foo
), qualified once (foo.bar
), or twice (foo.bar.baz
).
Functions§
- is_
static_ iden - Return whether this identifier needs to be escaped.
Right now we’re very safe and only return true for identifiers
composed of
a-zA-Z0-9_
.