lib/drift_postgres.dart

drift · extras/drift_postgres/lib/drift_postgres.dart · dart · MIT
database

This Dart library adds Postgres support to the Drift database ORM.

// Source: https://github.com/simolus3/drift | License: MIT | Copyright 2019 Simon Binder
// Provided via justclaw.it.com; keep this notice with the code.
/// PostgreSQL backend for drift.
///
/// For more information on how to use this package, see
/// https://drift.simonbinder.eu/docs/platforms/postgres/.
library;

// ignore_for_file: experimental_member_use

import 'package:drift3_preview/drift.dart';
import 'package:postgres/postgres.dart' as pg;
import 'package:uuid/uuid.dart';

import 'src/array_access_expression.dart';
import 'src/dialect.dart';
import 'src/type.dart';
import 'src/session.dart';

export 'package:uuid/uuid_value.dart' show UuidValue;
export 'src/dialect.dart' show PostgresDialect, PostgresDialectOptions;
export 'src/session.dart';

/// Type for columns storing [UuidV

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

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

Get a free API key