Data Access Object
Esta página todavía no se ha traducido — se muestra en su idioma original:English
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 leyendo una vista previa.
Inicia sesión con Google para leer la página completa. Una cuenta de Google incluye 5 páginas gratuitas en total; el alumnado y el profesorado leen las páginas de su curso sin límite.
Iniciar sesión