where method

String where (
  1. String filed,
  2. String operators,
  3. String value
)

Implementation

String where(String filed, String operators, String value) {
  var op = operators == '' ? '' : "'$operators'" ',';
  return '${tableName[0].replaceAll('_', '').toUpperCase()}${tableName.substring(1).replaceAll('_', '')}'
      '::where($filed,$op$value)';
}