getDBCommandWithSQL method

DBCommand? getDBCommandWithSQL(
  1. String sqlID
)

Returns the DBCommand with an SQL with sqlID from dbCommands.

Implementation

DBCommand? getDBCommandWithSQL(String sqlID) => dbCommands
    .firstWhereOrNull((cmd) => cmd.sqls.any((sql) => sql.sqlID == sqlID));