pocketbase icon indicating copy to clipboard operation
pocketbase copied to clipboard

Support options like expand, filter or fields in subscribe method

Open Branquo opened this issue 1 year ago • 1 comments

The JavaScript SDK for PocketBase allows users to subscribe to real-time changes in collections with an optional expand parameter, which enables fetching related fields automatically within the subscription data. As far as I can tell, this feature is currently missing in the Python SDK, where the subscribe method does not support expand, or filter, or fields as an option. See ganigeorgiev's comment on the issue Also: See in official documentation for realtime API SDK

Branquo avatar Nov 08 '24 11:11 Branquo

I've been a little outdated on the latest releases from the js sdk. I'll check it and try to port it.

Thanks for pointing it!

vaphes avatar Nov 08 '24 14:11 vaphes