📄 getcontent({ page, limit, ProductName, username })
Fetches content in paginated form for a given product and user.
1const pageData = await db.cms.getcontent({2 page: 1,3 limit: 50,4 ProductName: 'CodeBuddy',5 username: 'alice@example.com'6});
Notes
- Pagination-safe: Supports
pageandlimit. - Designed for UI dashboards, CMS listing, and admin views.