setDate abstract method
Set a DateTime to the query parameter referenced by the given name
.
In SQL++ queries, a parameter is referenced by prefixing an identifier
with $
. For example, this query defines a parameter with the name
TYPE
:
SELECT * FROM _ WHERE type = $TYPE;
When building a query through the QueryBuilder, you can create a parameter expression with Expression.parameter.
Implementation
void setDate(DateTime? value, {required String name});