Closed dshukertjr closed 3 years ago
Thanks! Let me bump up the version number now. I also want Pham to take a look at this just in case there was a special reason why postgrest-dart
was designed this way!
Thanks! Let me bump up the version number now. I also want Pham to take a look at this just in case there was a special reason why
postgrest-dart
was designed this way!
I missed that part when starting this lib. Great work put it in thanks @dshukertjr
What kind of change does this PR introduce?
Currently filters such as
eq
orneq
are not supported onrpc()
call within this package. If we take a look atpostgrest-js
, it is supported.This is because
rpc()
onpostgrest-js
returnsPostgrestFilterBuilder
where asrpc()
onpostgrest-dart
returnsPostgrestTransformBuilder
, which does not have the methods for filters.What is the current behavior?
rpc()
returnsPostgrestTransformBuilder
, which does not have the methods for filters.What is the new behavior?
rpc()
returnsPostgrestFilterBuilder
, which does not have the methods for filters.Additional context
I added one test that is the same as the one found in
supabase-js
.@phamhieu I was wondering if there was a specific reason why
rpc()
onpostgrest-dart
returnsPostgrestTransformBuilder
and notPostgrestFilterBuilder
likepostgrest-js
, but do you have any additional context here?