Managing Views
How Bookmark Pagination Works
const firstRequest = {
viewType: 'owners',
viewId: 'owners',
bookmark: '', // Empty for first page
};{
data: [...],
views: {
'owners': {
ids: [...],
pagination: {
bookmark: 'abc123...', // Use this for next request
hasMore: true
}
}
}
}Understanding the Views Object
Key Components
Document ID Mapping
Common View Types
Collections Interface
Account Interface
Helper Functions
Best Practices
Last updated