ReadDatabaseContainer extension
Look up cached elements or accessors from a database. This extension is meant to be used by drift-generated code.
Methods
-
accessor<
T extends DatabaseAccessor< (GeneratedDatabase> >T create(GeneratedDatabase)) → T -
Find an accessor by its
name
in the database, or create it withcreate
. 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.