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 -
Available on GeneratedDatabase, provided by the ReadDatabaseContainer extension
Find an accessor by itsname
in the database, or create it withcreate
. The result will be cached. -
resultSet<
T extends ResultSetImplementation> (String name) → T -
Available on GeneratedDatabase, provided by the ReadDatabaseContainer extension
Find a result set by itsname
in the database. The result is cached.