pub enum Dialect {
DEFAULT,
OGR,
SQLITE,
}
Expand description
Represents valid SQL dialects to use in SQL queries. See https://gdal.org/user/ogr_sql_sqlite_dialect.html
Variants§
DEFAULT
Use the default dialect. This is OGR SQL unless the underlying driver has a native dialect, such as MySQL, Postgres, Oracle, etc.
OGR
Explicitly choose OGR SQL regardless of if the underlying driver has a native dialect.
SQLITE
SQLite dialect. If the data set is not actually a SQLite database, then a virtual SQLite table is created to execute the query.
Auto Trait Implementations§
impl Freeze for Dialect
impl RefUnwindSafe for Dialect
impl Send for Dialect
impl Sync for Dialect
impl Unpin for Dialect
impl UnwindSafe for Dialect
Blanket Implementations§
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