Trait sqlx::TypeInfo [−][src]
Provides information about a SQL type for the database driver.
Required methods
pub fn is_null(&self) -> bool
[src]
pub fn name(&self) -> &str
[src]
Returns the database system name of the type. Length specifiers should not be included.
Common type names are VARCHAR
, TEXT
, or INT
. Type names should be uppercase. They
should be a rough approximation of how they are written in SQL in the given database.