datapod_postgres 0.0.1 copy "datapod_postgres: ^0.0.1" to clipboard
datapod_postgres: ^0.0.1 copied to clipboard

Postgres plugin for Datapod ORM.

datapod_postgres #

The PostgreSQL database plugin for the Datapod ORM.

✨ Features #

  • Fully integrates PostgreSQL into the Datapod ecosystem.
  • Supports transactions, connection pooling, and automated schema management.
  • Handles advanced data types like JSONB and Arrays via Datapod's mapping system.

📖 Usage #

Add to your pubspec.yaml:

dependencies:
  datapod_postgres: any
databases:
  - name: main_db
    plugin: datapod_postgres

In your connections.yaml, provide the credentials (supports environment variables):

connections:
  - name: main_db
    host: ${DB_HOST:-localhost}
    port: 5432
    username: my_user
    password: ${DB_PASSWORD}
    database: my_app

For full documentation, see the root README.

0
likes
0
points
127
downloads

Publisher

unverified uploader

Weekly Downloads

Postgres plugin for Datapod ORM.

Repository (GitHub)
View/report issues

Topics

#orm #database #postgres #persistence

License

unknown (license)

Dependencies

datapod_api, datapod_engine, logging, meta, postgres

More

Packages that depend on datapod_postgres