Skip to content

Latest commit

 

History

History

anaki_postgres

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

anaki_postgres

PostgreSQL driver for Anaki ORM — native performance via Rust FFI.

This package provides the PostgreSQL database driver for Anaki ORM, enabling high-performance database operations through native Rust bindings.

Documentation

For complete documentation, installation guides, API reference, and examples, please visit the main repository:

👉 https://github.com/Flutterando/anakiORM

Quick Start

dependencies:
  anaki_orm: ^0.1.0
  anaki_postgres: ^0.1.0
import 'package:anaki_orm/anaki_orm.dart';
import 'package:anaki_postgres/anaki_postgres.dart';

void main() async {
  final db = AnakiDb(PostgresDriver(
    host: 'localhost',
    port: 5432,
    database: 'myapp',
    username: 'postgres',
    password: 'secret',
  ));
  await db.open();
  // ... your code
  await db.close();
}

License

MIT