6 ms·
"Collections" stores a single records table meta data (eg. name, fields, validators, etc.), so when you create a new collection a new related table will be crea
by randomwebdev 4y ago
"Collections" stores a single records table meta data (eg. name, fields, validators, etc.), so when you create a new collection a new related table will be created (see https://github.com/pocketbase/pocketbase/blob/3d07f0211dc74710affd9154f61728d77cfb6f4c/daos/record.go#L273 https://github.com/pocketbase/pocketbase/blob/3d07f0211dc747...).
The admin UI just shows the collections through the web api (https://pocketbase.io/docs/api-collections/ https://pocketbase.io/docs/api-collections/).
I actually started with GORM, but its too complex and I ended up replacing it with a simpler query builder package (ozzo-dbx). While the query builder has abstraction for other databases, I'm not planning supporting them at the moment.
- giancarlostoro 4y agoNo worries, I've seen another project called UAdmin that kind of reminds me of this, my problem with UAdmin was that there were bugs and I didn't quite get why it worked how it worked, but having used Django since I realized what I was missing out on. Thank you for following up, I did see you had a package for extending the built-in Go package for SQL.