getTableIDFieldName method

  1. @protected
String getTableIDFieldName(
  1. String table
)
inherited

The ID field of table: from its registered TableScheme, or id.

Implementation

@protected
String getTableIDFieldName(String table) {
  var tablesScheme = tablesSchemes[table];

  var idField = tablesScheme?.idFieldName ?? 'id';
  return idField;
}