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

An entity and query building tool.

Bandicoot ORM #

Introduction #

Bandicoot ORM is a simple ORM for quickly modeling and creating entities. No code generation or reflection required. Currently, this is package still a work in progress.

Currently, Postgres is the only supported database, but we hope to add support for more databases in the future.

Creating an Entity #

An example of a user entity being created.

Entity UserEntity = Entity('user')
  ..column(
    name: UserColumn.id,
    type: DataType.Primary(),
  )
  ..column(
    name: UserColumn.uuid,
    type: DataType.UUID(),
  )
  ..column(
    name: UserColumn.firstName,
    type: DataType.String(30),
  )
  ..column(
    name: UserColumn.lastName,
    type: DataType.String(30),
  )
  ..column(
    name: UserColumn.emailAddress,
    type: DataType.String(50),
  );
0
likes
90
pub points
0%
popularity

Publisher

unverified uploader

An entity and query building tool.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

More

Packages that depend on bandicoot_orm