[Swift] RealtimeChannelV2
: Improve the postgresChange
function signature
#33619
Unanswered
LucasAbijmil
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using
RealtimeChannelV2
, the filter passed in parameter is aString
that must be entered manually by the client.Let's consider filtering the id (of type
UUID
) column via an array, our function signature will be as follows:While this works like a charm, I can see several drawbacks:
PostgrestFilterBuilder
.The idea would be to improve syntax and readability by using something similar to
PostgrestFilterBuilder
, so that the signature would look something like:So, when called (and taking the previous example), we'd have the following:
Beta Was this translation helpful? Give feedback.
All reactions