Questions tagged [pocketbase]

48 questions
4
votes
1 answer

How to setup S3 with Pocketbase

I am new to Pocketbase. I found that Pocketbase offers an S3 file system config but I dont know how to set it up completely. Currently, I am uploading my images to S3 separately then save the link to the DB. I am setting my bucket publicly…
G3N
  • 141
  • 6
3
votes
1 answer

Can the SQLite Database in Pocketbase be modified to your own liking?

Pocketbase is cunrretly my BaaS solution and due to its flexability I can change/modify the code using Go. I was wondering if I can change the defualt SQLite database and change to something like a MongoDB/Redis database. I have dug through the…
Blu
  • 33
  • 5
3
votes
1 answer

Pocketbase API Rule to only create record if there isn't already a record with the same values

Is there a way to create an API rule that only allows the user to create a record if there isn't already one with the same combination of values. I want it to be possible to have a record with the values "a" and "b" and also one with the values "a"…
wafgawfwaf
  • 31
  • 1
3
votes
2 answers

PocketBase filter data by with multiple relation set

i have a collection where the field "users" contains the id's of two users. how can i search for this dataset where this both user id's are. i tried users = ["28gjcow5t1mkn7q", "frvl86sutarujot"] still don't work
Kyrill
  • 265
  • 1
  • 7
  • 19
3
votes
1 answer

How do I upload files to pocketbase?

I am using pocketbase and svelte.js. How can I upload pictures to pocketbase via an html input.