TableInfoUtils<TableDsl, D> extension Null safety

Static extension members for generated table classes.

Most of these are accessed internally by drift or by generated code.

on

Methods

mapFromRow(QueryRow row, {String? tablePrefix}) → D
Like map, but from a row instead of the low-level map.
mapFromRowOrNull(QueryRow row, {String? tablePrefix}) → D?
Like mapFromRow, but returns null if a non-nullable column of this table is null in row.
mapFromRowWithAlias(QueryRow row, Map<String, String> alias) → D
Like mapFromRow, but maps columns from the result through alias. [...]