Expand description
SQL:1999 Type System
This crate provides the type system for SQL:1999, including:
- Data type definitions (INTEGER, VARCHAR, BOOLEAN, etc.)
- SQL values representation
- Type compatibility and coercion rules
- Type checking utilities
Structs§
- Date
- SQL DATE type - represents a date without time
- Interval
- SQL INTERVAL type - represents a duration
- MySql
Mode Flags - MySQL-specific mode flags (similar to MySQL’s sql_mode variable)
- Time
- SQL TIME type - represents a time without date
- Timestamp
- SQL TIMESTAMP type - represents a date and time
Enums§
- Concat
Operator - String concatenation operator preference
- Data
Type - SQL:1999 Data Types
- Division
Behavior - Operator behavior traits and types for different SQL modes
- Interval
Field - SQL:1999 Interval Fields
- SqlMode
- SQL compatibility mode
- SqlValue
- SQL Values - runtime representation of data
- Type
Affinity - SQLite Type Affinity
- Value
Type - Represents the value type category for type inference and coercion
Traits§
- Operator
Behavior - Trait for mode-specific operator behaviors
- Type
Behavior - Type system behavior trait for SQL modes
Type Aliases§
- String
Value - String type for SQL values using ArcStr with small string optimization (SSO). Strings ≤22 bytes are stored inline without heap allocation.