aboutsummaryrefslogtreecommitdiff
path: root/odb/result.hxx
AgeCommit message (Collapse)AuthorFilesLines
2015-03-26Get pointer_type from correct traits (object, view)Boris Kolpackov1-1/+3
2015-02-06Update copyrightBoris Kolpackov1-1/+1
2014-11-10Implement {query,execute}_{one,value}() shortcut functionsMichael Shepanski1-0/+19
Useful in situations where the query is know to return at most one element (*_one) or exactly one element (*_value).
2013-02-09Update copyright yearBoris Kolpackov1-1/+1
2012-11-29Namespace management for static multi-database supportBoris Kolpackov1-2/+2
Now in libodb the odb::core namespace is split into odb::common (database- independent stuff) and odb::core proper, which imports odb::common. Each database runtime now defines odb::<db>::core namespace which also imports odb::common and adds the database-specific bits. The overall idea is that one can do using namespace odb::<db>::core just like for odb::core.
2012-10-29Add workaround for VC++2.2.0.a1Boris Kolpackov1-1/+2
2012-10-19Implement early connection releaseBoris Kolpackov1-1/+27
2012-10-19Initial support for prepared queriesBoris Kolpackov1-0/+8
2012-04-23Polymorphic inheritance supportBoris Kolpackov1-8/+1
2012-01-29Update copyright yearBoris Kolpackov1-1/+1
2012-01-29Remove author field from file headerBoris Kolpackov1-1/+0
Too much effort to maintain.
2011-10-27Add support for persistent classes without object idsBoris Kolpackov1-5/+0
New pragma id (object). New test: common/no-id.
2011-09-22Make common result implementation instead of separate for views and objects1.6.0.a2Boris Kolpackov1-3/+167
2011-09-05Support for views; native partBoris Kolpackov1-313/+14
2011-02-18Add odb::core namespace to be used in using-directivesBoris Kolpackov1-0/+5
Port all the examples and tests.
2011-01-04Copyright updateBoris Kolpackov1-1/+1
2010-12-09Cosmetic change (rename naked pointer to raw pointer)Boris Kolpackov1-1/+1
2010-11-26Postpone fetching of the data for cached resultsBoris Kolpackov1-2/+20
This way if an object of the same type is loaded in between iteration, the fetched image won't be messed up.
2010-11-26Rename guard_type to guard for consistencyBoris Kolpackov1-1/+1
2010-11-26Add support for recursive object loadingBoris Kolpackov1-2/+2
If an object of a type needs to be loaded recursively, then it is addded to the delayed loading list which is processed once the statements are unlocked.
2010-11-22Add session, database operations on pointers and const objectsBoris Kolpackov1-10/+33
Currently, session is just an object cache. The persist, update, and erase database operations are overloaded to also work on object pointers. All the database operations and the query facility now support const objects. New session-related exceptions: not_in_session, already_in_session, const_object.
2010-11-16Rework pointer traits, add naked, auto_ptr, and TR1 specializationsBoris Kolpackov1-1/+1
2010-11-15Add support for custom object pointersBoris Kolpackov1-5/+18
New option: --default-pointer. New object pragma specifier: pointer.
2010-10-07Add support for persistent classes without default ctorsBoris Kolpackov1-18/+1
New test: common/ctor.
2010-09-23Add swap(), empty(), and size() to result class templateBoris Kolpackov1-6/+34
2010-09-20Make result_iterator::operator* return referenceBoris Kolpackov1-6/+20
Add load() version that returns the dynamically-allocated instance.
2010-09-10Add support for result cachingBoris Kolpackov1-0/+15
2010-08-26Add support for creating other build systems (meta-building)Boris Kolpackov1-0/+4
Add support for automake, VC++ 9, and VC++ 10. Also add the Win32 and 'NULL' threading model implementations.
2010-08-18Move shared_ptr to the details namespaceBoris Kolpackov1-4/+5
2010-08-16Add pointer guard for naked pointerBoris Kolpackov1-4/+21
2010-08-13Cosmetic changeBoris Kolpackov1-1/+1
2010-08-10Rework result/result_iterator interactionBoris Kolpackov1-25/+45
2010-08-10Add ability to load result into an existing objectBoris Kolpackov1-0/+11
2010-08-10Make result copy-assignableBoris Kolpackov1-24/+24
Return result from database::query instead of pointer to impl
2010-08-10Add query supportBoris Kolpackov1-0/+188