aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/result.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-11-26 13:24:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-11-26 13:24:00 +0200
commitba8430c002627705d559b5dd9d78ae7611476520 (patch)
treed629a51b81ed279a40172869a9130ce3ddbbe09c /odb/mysql/result.hxx
parentfba7f7853b4a9485fa2ee29189e4445252ccac97 (diff)
Add support for recursive object loading
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.
Diffstat (limited to 'odb/mysql/result.hxx')
-rw-r--r--odb/mysql/result.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/mysql/result.hxx b/odb/mysql/result.hxx
index 336d46c..ec232a5 100644
--- a/odb/mysql/result.hxx
+++ b/odb/mysql/result.hxx
@@ -39,10 +39,10 @@ namespace odb
object_statements<object_type>& statements);
virtual void
- current (object_type&);
+ load (object_type&);
virtual id_type
- current_id ();
+ load_id ();
virtual void
next ();