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

A type-safe, migration-first ORM for Dart: a compile-time-checked query builder, code-generated row mappers, and pluggable SQL backends.

Changelog #

0.0.1 #

Initial development release of the basalt_dart core.

  • Type system: SqlType<T> codecs (IntSqlType/StringSqlType/DoubleSqlType/BooleanSqlType/ BlobSqlType/DateTimeSqlType) with a single NullableSqlType(...) wrapper for nullable columns.
  • Schema: sealed TableColumn<T, Tbl> (ValueColumn / PrimaryKey / Ref), TableRef, QuerySource, TableAlias for self-joins.
  • Expressions with phantom table scope; eq/ne/gt/ge/lt/le/isIn/between/isNull/like/ eqColumn, operator sugar, and &/| combinators.
  • Query builder: from().where().orderBy().limit().offset().select().innerJoin()/leftJoin().map()MappedQuery; RowReader (read by column name) and reusable RowMapper.
  • Writes: insertInto / update / deleteFrom with TableColumn.set.
  • Serializer (QueryBuilder + SqlDialect) with two-tier join scope validation.
  • Async-first Connection interface with transactions (nested → SAVEPOINT) and introspect().
  • Annotations for codegen: @Queryable, @Insertable, @AsChangeset, @Column (readOnly/writeOnly), @Relation.
1
likes
0
points
74
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

A type-safe, migration-first ORM for Dart: a compile-time-checked query builder, code-generated row mappers, and pluggable SQL backends.

Repository (GitHub)
View/report issues

Topics

#orm #database #sql #query-builder

License

unknown (license)

More

Packages that depend on basalt