method

type_cast

type_cast(value)
public

Cast a value to a type that the database understands. For example, SQLite does not understand dates, so this method will convert a Date to a String.