How do I retrieve field values from pocketbase records?
ItsTerm1n4l opened this issue · comments
ItsTerminal commented
Gani Georgiev commented
You can call getList()
(for paginated records list) or getFullList()
(for all collection records):
const records = await pb.collection("parts").getFullList();
Note that by default new collections have "Admin only" API rules. You can manage the permissions to your collection from the collection settings (cogwheel) > API rules.
For more details and examples you can explore the "API Preview" section of the collection or explore the generic web API docs at https://pocketbase.io/docs/api-records/.
If you need further help, for general PocketBase usage questions please consider opening a Q&A discussion instead.