datapod_mysql 0.2.0 copy "datapod_mysql: ^0.2.0" to clipboard
datapod_mysql: ^0.2.0 copied to clipboard

MySQL plugin for Datapod ORM.

datapod_mysql #

The MySQL database plugin for the Datapod ORM framework.

✨ Features #

  • Fully integrates MySQL into the Datapod ecosystem.
  • Supports transactions, connection pooling, and automated schema management.
  • Handles common MySQL data types via Datapod's mapping system.

📖 Usage #

Add to your pubspec.yaml:

dependencies:
  datapod_mysql: any

Then configure it in your databases.yaml:

databases:
  - name: my_db
    plugin: datapod_mysql
    connection: my_conn
    migrationConnection: my_migration_conn # Optional

In connections.yaml:

connections:
  - name: my_conn
    host: localhost
    port: 3306
    user: app_user
    password: password
    database: my_db

  - name: my_migration_conn
    host: localhost
    port: 3306
    user: admin_user
    password: admin_password
    database: my_db

For full documentation, see the root README.

0
likes
140
points
60
downloads

Publisher

unverified uploader

Weekly Downloads

MySQL plugin for Datapod ORM.

Repository (GitHub)
View/report issues

Topics

#orm #database #mysql

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

datapod_api, datapod_engine, logging, mysql1

More

Packages that depend on datapod_mysql