TimestampType class
Methods
-
mapToSqlLiteral(GenerationContext context, DateTime dartValue)
→ String
-
Maps the
dartValue
to a SQL snippet that can be embedded as a literal
into SQL queries generated by drift.
inherited
-
mapToSqlParameter(GenerationContext context, DateTime dartValue)
→ Object
-
Maps the
dartValue
to a value understood by the underlying database
driver.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
read(SqlTypes types, Object fromSql)
→ DateTime
-
Interprets the underlying
fromSql
value from the database driver into
the Dart representation T
of this type.
inherited
-
sqlTypeName(GenerationContext context)
→ String
-
Returns a suitable representation of this type in SQL.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited