RelationalDatabaseAdapter<T> class

Adapter demonstrating how Relational Databases (PostgreSQL, MySQL, SQLite) integrate with MetaMantle without introducing mandatory database dependencies.

Implemented types

Constructors

RelationalDatabaseAdapter({required SqlQueryRunner queryRunner, required SqlRowMapper<T> rowMapper, required String tableName, String keyColumn = 'slug', String paramName = 'slug'})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
keyColumn → String
final
paramName → String
final
queryRunner → SqlQueryRunner
final
rowMapper → SqlRowMapper<T>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tableName → String
final

Methods

load(RouteDataContext context) → Future<DataProviderResult<T>>
Loads typed data for the given context.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited