Changes

Jump to: navigation, search

Database Query API

285 bytes added, 15:00, 31 January 2016
self
== self ==
There is a special field name named "self" that can be used to access the preceding handle element in the dotted-field path as an object.
Examples:
>>> db.select("Person", ["handle.self"])
## Returns a Result of [{"handle.self": Person-object}, ...]
>>> db.select("Family", ["mother_handle.self"])
## Returns a Result of [{"mother_handle.self": Person-object}, ...]
 
>>> db.select("Person", ["event_ref_list.ref.self"])
## Returns a Result of [{"event_ref_list.ref.self": Event-object}, ...]
== Implementation ==

Navigation menu