dboo::odb::object

template<class T>
T* object(obj_id id);
obj_ref object(obj_id id);
object ( id ) : Object

Returns an object based on id. Does not request object from server.

Parameters

id

The object id of the object to return.

Return value

A pointer or obj_ref to the request object or null if it is not known.

Exceptions

Example