Get a document by ID (internal offset)
ffi.Pointer<ffi.Char> db_get(ffi.Pointer<DB> db, int id) { return _db_get(db, id); }