cake/param
A Param is a value that can be used in a query.
Types
Params (e.g. parameters) are wrapped (boxed) literal values, that can be used in SQL queries.
pub type Param {
StringParam(value: String)
IntParam(value: Int)
FloatParam(value: Float)
NullParam
BoolParam(value: Bool)
DateParam(value: calendar.Date)
}
Constructors
-
StringParam(value: String) -
IntParam(value: Int) -
FloatParam(value: Float) -
NullParam -
BoolParam(value: Bool) -
DateParam(value: calendar.Date)