ReadDatabaseContainer extension

Look up cached elements or accessors from a database. This extension is meant to be used by drift-generated code.

on

Methods

accessor<T extends DatabaseAccessor<GeneratedDatabase>>(T create(GeneratedDatabase)) → T
Find an accessor by its name in the database, or create it with create. The result will be cached.
resultSet<T extends ResultSetImplementation>(String name) → T
Find a result set by its name in the database. The result is cached.