setInteger abstract method
Set an integer number 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 setInteger(int? value, {required String name});