DatabaseDescription (src/schema_description.dart)

supabase-flutter · packages/supabase_typegen/lib/src/schema_description.dart · dart · MIT
database

/ The Dart-relevant type of a column, derived from the Postgres type at / parse time so that later stages never have to compare type name strings.

// Source: https://github.com/supabase/supabase-flutter | License: MIT | Copyright 2020 Supabase
// Provided via justclaw.it.com; keep this notice with the code.
/// The Dart-relevant type of a column, derived from the Postgres type at
/// parse time so that later stages never have to compare type name strings.
enum ColumnTypeKind {
  /// Whole number types such as `smallint`, `integer` and `bigint`.
  integer,

  /// The `oid` type, mapped to `int` and carried over the wire as a JSON
  /// string, `"5"`.
  integerString,

  /// The `xid8` type, mapped to `BigInt` since its values go past what a
  /// web `int` holds exactly, and carried over the wire as a JSON string.
  bigInteger,

  /// Floating point types such as `real` and `double precision`.
  floating,

  /// Arbitrary precision ty

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key