Data Access Object
S'ensenya a
Accés a dadesBases de dades relacionalsDAM
Introduction
Table
Apart from the core Table class, Exposed provides the base IdTable class and its subclasses through the DAO API.
The IdTable class extends Table and is designed to simplify the definition of tables that use a standard id column as the primary key. These tables can be declared without explicitly including the id column, as IDs of the appropriate type are automatically generated when creating new table rows.
Insert
To add a new row and return its id, use .insertAndGetId():
Pending
Mira: Deep Dive into DAO
Estàs llegint una vista prèvia.
Inicia la sessió amb Google per llegir la pàgina sencera.
Inicia la sessió amb GoogleNomés et demanarem que acceptis les condicions del servei.