Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-01-16 | Update copyright year | Karen Arutyunov | 9 | -9/+9 | |
2018-05-24 | Update copyright year | Karen Arutyunov | 9 | -9/+9 | |
2017-11-07 | Get rid of GCC 7 case fall-through warnings | Boris Kolpackov | 1 | -6/+3 | |
2017-04-06 | Map string keys to MySQL VARCHAR(128) instead of 255 to support 4-byte UTF-8 | Boris Kolpackov | 2 | -2/+2 | |
This is a backwards-incompatible change in that it may change your schema. To obtain the old behavior you will have to explicitly re-map std::string with the id_type pragma or explicitly specify the database type for each affected id member with the type pragma. | |||||
2017-03-27 | Implement support for mixed auto/0 id assignment in MySQL | Boris Kolpackov | 1 | -1/+12 | |
Now one can do: odb::nullable<int64_t> id; And then, when used with NO_AUTO_VALUE_ON_ZERO, set the id to NULL to get auto-assignment or to 0 to use 0 as the id. | |||||
2017-01-03 | Update copyright year | Boris Kolpackov | 9 | -9/+9 | |
2016-11-27 | Fix bug in handling section members that require growth | Boris Kolpackov | 2 | -6/+7 | |
2016-10-26 | Implement support for mixed auto/manual id assignment in SQLite | Boris Kolpackov | 1 | -1/+2 | |
Now one can do: #pragma db id auto odb::nullable<int64_t> id; And then set the id to NULL to get auto-assignment or to the actual value to use a manual id. | |||||
2016-05-04 | Ignore section logic when dealing with container elements | Boris Kolpackov | 1 | -1/+5 | |
The container member itself can be in a section. | |||||
2015-07-02 | C++ type mapping support for container elementsas | Boris Kolpackov | 4 | -26/+41 | |
2015-02-06 | Update copyright | Boris Kolpackov | 9 | -9/+9 | |
2015-02-06 | Implement join types support in views | Boris Kolpackov | 1 | -0/+13 | |
2015-02-04 | Implement object loading views | Boris Kolpackov | 4 | -177/+27 | |
See section 10.2 in the manual for details. | |||||
2015-01-23 | Handle SQL name limits in MySQL and SQL Server | Boris Kolpackov | 1 | -1/+13 | |
2014-11-25 | Implement bulk database operation support for Oracle and SQL Server | Boris Kolpackov | 1 | -0/+1 | |
2013-12-04 | Implement on_delete pragma for object pointers | Boris Kolpackov | 1 | -0/+18 | |
Translates to the ON DELETE SQL clause. | |||||
2013-10-15 | Automatically map C++11 enum classes (strong enums) | Boris Kolpackov | 1 | -32/+27 | |
2013-09-16 | Implement summary soft-deletion for composite value types | Boris Kolpackov | 1 | -2/+34 | |
2013-09-10 | Schema versioning support for rest of database | Boris Kolpackov | 1 | -3/+56 | |
2013-08-14 | Add support for object sections | Boris Kolpackov | 2 | -11/+23 | |
Sections are an optimization mechanism that allows the partitioning of data members of a persistent class into groups that can be separately loaded and/or updated. | |||||
2013-04-26 | Add support for extra database info in primary key | Boris Kolpackov | 1 | -1/+1 | |
Use that to handle Oracle sequence name and SQLite lax auto ids. | |||||
2013-04-26 | Add support for table options in changelog, use to handle MySQL engine | Boris Kolpackov | 2 | -10/+26 | |
2013-04-25 | Add support for schema version table | Boris Kolpackov | 1 | -6/+41 | |
2013-04-10 | Clean up class order in schema generators | Boris Kolpackov | 1 | -44/+49 | |
2013-04-10 | Get rid of ALTER TABLE callback since it is the same for all databases | Boris Kolpackov | 1 | -2/+2 | |
2013-04-10 | Use single ALTER TABLE to add foreign keys on pass 2 | Boris Kolpackov | 1 | -30/+66 | |
2013-04-10 | Generate add/drop foreign key migration statements | Boris Kolpackov | 1 | -192/+237 | |
Also add the --fkeys-deferrable-mode option. General schemas generation rework. | |||||
2013-04-10 | Explicitly specify NULL for nullable columns in generated schema | Boris Kolpackov | 1 | -23/+0 | |
2013-04-10 | Generate alter column migration statements | Boris Kolpackov | 1 | -0/+12 | |
2013-04-10 | Generate add/drop index migration statements | Boris Kolpackov | 1 | -0/+15 | |
2013-04-10 | Generate add/drop table migration statements | Boris Kolpackov | 1 | -29/+59 | |
2013-02-09 | Update copyright year | Boris Kolpackov | 9 | -9/+9 | |
2013-02-07 | Use multi-pass table creation in MySQL | Boris Kolpackov | 1 | -25/+204 | |
This deals with table creation order and circular dependencies. Unfortunately, there doesn't seem to be a way in MySQL to drop a foreign key only if it exists without resorting to stored procedures. | |||||
2013-01-24 | Add support for mapping char[N] to CHAR/VARCHAR database types | Boris Kolpackov | 2 | -4/+35 | |
Also improve query support for arrays (decaying). | |||||
2013-01-14 | Add support for MSSQL ROWVERSION | Boris Kolpackov | 1 | -6/+6 | |
ODB can now use ROWVERSION column as an optimistic concurrency version. | |||||
2012-12-12 | Add support for SQL name transformations | Boris Kolpackov | 2 | -12/+2 | |
2012-11-21 | Add dynamic multi-database query support | Boris Kolpackov | 1 | -1/+1 | |
2012-11-20 | Merge branch '2.1' | Boris Kolpackov | 1 | -0/+6 | |
2012-11-20 | Ignore polymorphic id reference when generating grow()2.1.12.1 | Boris Kolpackov | 1 | -0/+6 | |
2012-10-08 | Ground work for multi-database support | Boris Kolpackov | 2 | -2/+3 | |
All generated code now includes database id. The database-specific database class interface has been updated to include all the database operations. The database-specific tests now use this interface. | |||||
2012-09-04 | NULL handling improvements | Boris Kolpackov | 1 | -21/+23 | |
Add support for specifying NULL-ness for types with built-in mapping. Handle Oracle [N]VARCHAR2 and SQLite FLOAT oddities using this mechanism instead of overriding it at the schema generation level. Also use the is_null argument that is passed to value_traits::init_image() to indicate whether the value can be NULL. | |||||
2012-07-27 | Add support for defining indexes | Boris Kolpackov | 1 | -0/+30 | |
New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index. | |||||
2012-07-27 | Move indexes from model scope to table scope | Boris Kolpackov | 1 | -14/+0 | |
Conceptually, indexes belong to tables and some databases (MySQL, MSSQL) indeed treat them as such (i.e., you can have indexes with the same name in different tables). | |||||
2012-07-10 | Add support for custom database type mapping | Boris Kolpackov | 4 | -59/+128 | |
New pragma qualifier, map, and specifiers: as, to, from. New tests: <database>/custom. | |||||
2012-04-27 | Add support for NULL pointers to objects with composite object ids | Boris Kolpackov | 1 | -0/+43 | |
2012-04-23 | Polymorphic inheritance support | Boris Kolpackov | 3 | -124/+15 | |
2012-03-07 | Use RAII to free select statement results | Boris Kolpackov | 1 | -0/+1 | |
2012-02-22 | Add support for composite object ids | Boris Kolpackov | 6 | -526/+82 | |
New pragma id_type (member). New test: common/composite-id. The composite example has also been updated. | |||||
2012-01-29 | Update copyright year | Boris Kolpackov | 8 | -8/+8 | |
2012-01-29 | Remove author field from file header | Boris Kolpackov | 8 | -8/+0 | |
Too much effort to maintain. |