Point-in-Time Views

To create a View, new view name should be assigned to view configuration namespace.

It is possible to do sp_get() or sp_cursor() on a view object.

sp_setstring(env, "view", "today", 0);
void *view = sp_getobject(env, "view.today");

Views are not persistent, therefore view object must be recreated after shutdown before opening environment with latest view LSN number: view.name.lsn.

sp_setstring(env, "view", "today", 0);
sp_setint(env, "view.today.lsn", 12345);

To delete a view, sp_drop() or sp_destroy() should be called on a view object.