QueryLogEntryTable constructor

QueryLogEntryTable({
  1. TableRelation? tableRelation,
})

Implementation

QueryLogEntryTable({super.tableRelation})
  : super(tableName: 'serverpod_query_log') {
  updateTable = QueryLogEntryUpdateTable(this);
  serverId = _is.ColumnString(
    'serverId',
    this,
  );
  sessionLogId = _is.ColumnInt(
    'sessionLogId',
    this,
  );
  messageId = _is.ColumnInt(
    'messageId',
    this,
  );
  query = _is.ColumnString(
    'query',
    this,
  );
  duration = _is.ColumnDouble(
    'duration',
    this,
  );
  numRows = _is.ColumnInt(
    'numRows',
    this,
  );
  error = _is.ColumnString(
    'error',
    this,
  );
  stackTrace = _is.ColumnString(
    'stackTrace',
    this,
  );
  slow = _is.ColumnBool(
    'slow',
    this,
  );
  order = _is.ColumnInt(
    'order',
    this,
  );
}