Escriu per cercar…

Data Access Object

Aquesta pàgina encara no s'ha traduït — es mostra en l'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