| Wt
    3.3.0
    | 
Namespace for the Database Objects (Wt::Dbo). More...
| Classes | |
| class | Call | 
| A database call.  More... | |
| class | collection | 
| An STL container for iterating query results.  More... | |
| class | Exception | 
| Exception base class for Wt::Dbo.  More... | |
| class | StaleObjectException | 
| Exception thrown when Wt::Dbo detects a concurrent modification  More... | |
| class | ObjectNotFoundException | 
| Exception thrown when trying to load a non-existing object.  More... | |
| class | NoUniqueResultException | 
| Exception thrown when a query unexpectedly finds a non-unique result.  More... | |
| class | ForeignKeyConstraint | 
| Type that indicates one or more foreign key constraints.  More... | |
| class | FixedSqlConnectionPool | 
| A connection pool of fixed size.  More... | |
| class | dbo_default_traits | 
| Default traits for a class mapped with Wt::Dbo.  More... | |
| class | dbo_traits | 
| Traits for a class mapped with Wt::Dbo.  More... | |
| class | Dbo | 
| A base class for database objects.  More... | |
| class | ptr | 
| A smart pointer for a database object.  More... | |
| struct | ptr_tuple | 
| A utility class for defining a tuple of database objects.  More... | |
| class | DirectBinding | 
| class | DynamicBinding | 
| class | Query | 
| A database query.  More... | |
| class | QueryModel | 
| A Wt MVC Model to view/edit query results.  More... | |
| class | Session | 
| A database session.  More... | |
| class | SqlConnection | 
| Abstract base class for an SQL connection.  More... | |
| class | SqlConnectionPool | 
| Abstract base class for a SQL connection pool.  More... | |
| class | SqlStatement | 
| Abstract base class for a prepared SQL statement.  More... | |
| class | sql_value_traits | 
| Traits class for value types.  More... | |
| class | FieldInfo | 
| Description of a field.  More... | |
| class | query_result_traits | 
| Traits class for result types.  More... | |
| class | Transaction | 
| A database transaction.  More... | |
| class | weak_ptr | 
| A weak pointer for a database object.  More... | |
| Enumerations | |
| enum | RelationType { ManyToOne, ManyToMany } | 
| Type of an SQL relation.  More... | |
| enum | SqlDateTimeType { SqlDate, SqlDateTime, SqlTime } | 
| Enum that defines a date time type.  More... | |
| Functions | |
| ForeignKeyConstraint | operator| (ForeignKeyConstraint lhs, ForeignKeyConstraint rhs) | 
| Combines two constraints. | |
| template<class Action , typename V > | |
| void | id (Action &action, V &value, const std::string &name="id", int size=-1) | 
| Maps a natural primary key (id) field. | |
| template<class Action , class C > | |
| void | id (Action &action, ptr< C > &value, const std::string &name, ForeignKeyConstraint constraints, int size=-1) | 
| Maps a natural primary key (id) field that is a foreign key. | |
| template<class Action , typename V > | |
| void | field (Action &action, V &value, const std::string &name, int size=-1) | 
| Maps a database object field. | |
| template<class Action , class C > | |
| void | belongsTo (Action &action, ptr< C > &value, const std::string &name=std::string(), int size=-1) | 
| Maps the "One"-side (foreign key) of a ManyToOne or OneToOne relation. | |
| template<class Action , class C > | |
| void | belongsTo (Action &action, ptr< C > &value, const std::string &name, ForeignKeyConstraint constraints, int size=-1) | 
| Maps the "One"-side (foreign key) of a ManyToOne or OneToOne relation. | |
| template<class Action , class C > | |
| void | belongsTo (Action &action, ptr< C > &value, ForeignKeyConstraint constraints, int size=-1) | 
| Maps the "One"-side (foreign key) of a ManyToOne or OneToOne relation. | |
| template<class Action , class C > | |
| void | hasOne (Action &action, weak_ptr< C > &value, const std::string &name=std::string()) | 
| Maps the "One"-side of a OneToOne relation. | |
| template<class Action , class C > | |
| void | hasMany (Action &action, collection< ptr< C > > &value, RelationType type, const std::string &name=std::string()) | 
| Maps the "Many"-side of a ManyToOne or ManyToMany relation. | |
| template<class Action , class C > | |
| void | hasMany (Action &action, collection< ptr< C > > &value, RelationType type, const std::string &name, const std::string &joinId, ForeignKeyConstraint constraints=NotNull) | 
| Maps the "Many"-side of a ManyToMany relation. | |
| Variables | |
| const ForeignKeyConstraint | NotNull | 
| A constraint that prevents a nullptr. | |
| const ForeignKeyConstraint | OnUpdateCascade | 
| A constraint that cascades updates. | |
| const ForeignKeyConstraint | OnUpdateSetNull | 
| A constraint that cascades updates. | |
| const ForeignKeyConstraint | OnDeleteCascade | 
| A constraint that cascades deletes. | |
| const ForeignKeyConstraint | OnDeleteSetNull | 
| A constraint that cascades deletes. | |
Namespace for the Database Objects (Wt::Dbo).
 1.7.5.1
 1.7.5.1