aboutsummaryrefslogtreecommitdiff
path: root/common/query
AgeCommit message (Collapse)AuthorFilesLines
2016-06-15Get rid of C++11 deprecation warnings for auto_ptr, exception specsBoris Kolpackov1-0/+6
In particular, std::auto_ptr is no longer mapped in C++11.
2015-07-27Fix member name conflicts in query supportBoris Kolpackov1-0/+34
2015-07-17Handle empty query::in_range() caseBoris Kolpackov1-0/+6
2015-02-08Recode strcpy as memcpyBoris Kolpackov1-1/+2
VC12 deprecated those hard, as in, it is now an error.
2015-02-08Recode strncpy as memcpyBoris Kolpackov1-4/+5
VC12 deprecated those hard, as in, it is now an error.
2015-02-06Update copyrightBoris Kolpackov7-7/+7
2014-11-10Implement {query,execute}_{one,value}() shortcut functionsMichael Shepanski4-0/+349
Useful in situations where the query is know to return at most one element (*_one) or exactly one element (*_value).
2014-06-03Support for VC12 (2013), initial workBoris Kolpackov2-2/+8
2013-07-08Add support for Visual Studio 2005Boris Kolpackov2-4/+8
2013-06-21Add support for running tests in dynamic multi-database modeBoris Kolpackov5-65/+118
Only possible in the development build system at this stage.
2013-06-13Handle --database option directly in automake and VC++ projectsBoris Kolpackov2-7/+8
2013-06-03Use database name in options and driver files (build part)Boris Kolpackov2-2/+2
This way we will be able to have several databases configured at the same time, which is needed for multi-database support testing.
2013-02-21Add support for pattern matching (SQL LIKE)Boris Kolpackov2-0/+42
2013-02-09Update copyright yearBoris Kolpackov6-6/+6
2013-01-25By default map std::array<char, N> to string instead of binaryBoris Kolpackov1-7/+2
2013-01-24Add support for mapping char[N] to CHAR/VARCHAR database typesBoris Kolpackov8-10/+373
Also improve query support for arrays (decaying).
2012-10-19Completion of prepared query supportBoris Kolpackov1-1/+1
2012-10-08More query result size() fixesBoris Kolpackov1-1/+12
2012-09-28Make sure size() can still be called once we reached the end of result setBoris Kolpackov2-0/+46
2012-09-16Add support for Visual Studio 2012Boris Kolpackov1-1/+3
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-2/+12
2012-03-07Use RAII to free select statement resultsBoris Kolpackov2-0/+20
2012-02-24C++11 support (pass --std ODB compiler option in build makefiles)Boris Kolpackov1-0/+5
2012-01-29Update copyright yearBoris Kolpackov3-3/+3
2012-01-29Remove author field from file headerBoris Kolpackov3-3/+0
Too much effort to maintain.
2012-01-20Disable re-loading of object with long data for SQL ServerBoris Kolpackov1-0/+7
2012-01-20Query support for SQL ServerBoris Kolpackov1-5/+11
2011-11-08Get rid of custom value_traits specialization in query testBoris Kolpackov7-263/+3
auto_ptr<string> is now handled automatically as a wrapper.
2011-11-03Use ODB_DATABASE_XXX macros instead DATABASE_XXX in ODB-compiled headers1.7.0.a1Boris Kolpackov1-3/+1
DATABASE_XXX macros are not defined when building from VC++ project.
2011-11-02Add result_iterator::id() function that returns id without loading objectBoris Kolpackov2-0/+15
2011-11-02Prevent potential image overwrite in MySQL query resultBoris Kolpackov1-1/+6
2011-11-01Enable query test 14 for OracleConstantin Michael1-2/+0
2011-10-27Dereference nullableBoris Kolpackov1-1/+1
2011-10-27Rename typedef type for clarityConstantin Michael2-4/+5
2011-10-27Temporarily exclude query test 14 from Oracle test suiteConstantin Michael1-13/+15
2011-10-27Simplify LOB column query testsConstantin Michael3-62/+67
2011-10-27Revert to manually quoting Oracle identifiers where necessaryConstantin Michael1-10/+23
2011-10-26Add BLOB comparison and null predicate test cases to query testConstantin Michael3-53/+119
2011-10-26Temporarily disable query test 14Constantin Michael1-13/+13
2011-10-26Use CLOB instead of TEXT for Oracle query testConstantin Michael1-1/+5
2011-10-26Add Oracle traits implementation for query testConstantin Michael2-0/+62
2011-10-26Quote schema object identifiers for Oracle where necessaryConstantin Michael1-8/+12
Oracle converts all alphabetical characters in unquoted schema object identifiers to uppercase. This behaviour cannot be disabled.
2011-10-26Get rid of common_ prefix in query testBoris Kolpackov1-1/+1
2011-08-24Make tests use unique table prefixesBoris Kolpackov1-1/+2
2011-07-19New design for NULL semanticsBoris Kolpackov1-1/+1
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).
2011-07-06Add traits for PostgreSQL query testConstantin Michael2-0/+61
2011-04-18Get rid of image type argument in value_traitsBoris Kolpackov2-2/+2
2011-03-30Autotools support for SQLiteBoris Kolpackov1-1/+1
2011-03-28Recode tests to work with implementations lacking result::size()Boris Kolpackov1-3/+3
2011-03-27Add traits implementation for SQLiteBoris Kolpackov3-48/+124