NAME

odb - object-relational mapping (ORM) compiler for C++

SYNOPSIS

odb [options] file [file...]

DESCRIPTION

Given a set of C++ classes in a header file, odb generates C++ code that allows you to persist, query, and update objects of these classes in a relational database (RDBMS). The relational database that the generated code should target is specified with the required --database option (see below).

For an input file in the form name.hxx (other file extensions can be used instead of .hxx), the following C++ files are generated: name-odb.hxx (header file), name-odb.ixx (inline file, generated unless the --suppress-inline option is specified), and name-odb.cxx (source file). Additionally, if the --generate-schema option is specified and the sql schema format is requested, the name.sql database schema file is generated.

OPTIONS