Enum rorm::representations::DBBackend
source · #[repr(i32)]
pub enum DBBackend {
Invalid,
SQLite,
MySQL,
Postgres,
}
Expand description
Representation of the database backend.
This is used to determine the correct driver and the correct dialect to use.
Variants§
Invalid
This exists to forbid default initializations with 0 on C side. Using this type will result in an Error::ConfigurationError
SQLite
SQLite backend
MySQL
MySQL / MariaDB backend
Postgres
Postgres backend