Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Also make non-inverse query columns act as both an object pointer and a
normal column. The latter allows us to use natural expressions such as
query<employee>::employer.is_null ().
|
|
Due to bugs in SQLite DDL foreign key support, we have to temporarily
disable foreign keys when re-creating the schema. New manual section:
12.5.3, "Foreign Key Constraints".
|
|
Assign unique table prefixes to most examples. This makes sure that
we don't end up with broken schemas where half of the tables were
changed by the next test and the other half has foreign keys that
now point to nowhere.
|
|
Now, instead of being specified as part of the SQL type with the type
pragma, there are separate null and not_null pragmas. The not_null
pragma was used to control NULL-ness of object pointers. Now the two
pragmas are used consistently for object pointers and simple values
(and in the future will work for composite values and containers).
|
|
|
|
|
|
|
|
|
|
|
|
New options: --schema-format, --default-schema. New example: schema/embedded.
|
|
Move the schema example to schema/custom.
|
|
Port all the examples and tests.
|
|
It shows how to map persistent classes to a custom database schema.
|