loxia 0.0.3 copy "loxia: ^0.0.3" to clipboard
loxia: ^0.0.3 copied to clipboard

A lightweight Dart ORM for Relational Databases built to be simple and extensible.

Changelog #

0.0.3 #

  • Added support for UUID primary keys in both SQLite and PostgreSQL drivers. You can now define a primary key as a UUID string by using the @PrimaryKey(uuid: true) annotation on your entity fields.
  • Added support for toJson method in entities and partial entities, allowing you to easily convert your entities to JSON format for serialization or API responses.
  • Improve Postgres schema synchronization.
  • Added default select allowing for less verbose queries when you want to select all columns of an entity without needing to specify them explicitly.

0.0.2 #

  • Fixed a bug in the generated code where createdAt and updatedAt fields won't assign the value returned by the database, causing them to always be set to null,
  • Fixed a bug in the postgres driver that caused the primary key of a table to not be properly generated.
  • Added the synchronize option to all the drivers, allowing to automatically synchronize the database schema with the entities on startup. This is enabled by default to prevent accidental data loss, but can be disabled for development or testing purposes.

0.0.1 #

  • Initial release of Loxia, a lightweight ORM for Dart supporting SQLite and PostgreSQL databases.
5
likes
0
points
931
downloads

Publisher

verified publisherserinus.app

Weekly Downloads

A lightweight Dart ORM for Relational Databases built to be simple and extensible.

Homepage
Repository (GitHub)
View/report issues

Topics

#orm #sqlite #postgres #database

Documentation

Documentation

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

analyzer, build, build_runner, code_builder, dart_style, glob, path, postgres, source_gen, sqlite3

More

Packages that depend on loxia