where method
String whereCriteria, write raw query without 'where' keyword. Like this: 'field1 like 'test%' and field2 = 3'
Implementation
ConjunctionBase where(String? whereCriteria, {dynamic parameterValue}) {
if (whereCriteria != null && whereCriteria != '') {
final DbParameter param = DbParameter(columnName: parameterValue == null ? null : '', hasParameter: parameterValue != null);
_addedBlocks = setCriteria(parameterValue ?? 0, parameters, param, '($whereCriteria)', _addedBlocks);
_addedBlocks.needEndBlock![_blockIndex] = _addedBlocks.retVal;
}
return this;
}