Skip to content

Commit de042a2

Browse files
committed
revert the changes with assersions
1 parent 9eb395d commit de042a2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/postgrest/lib/src/postgrest_filter_builder.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,9 +479,7 @@ class PostgrestFilterBuilder<T> extends PostgrestTransformBuilder<T> {
479479
/// 'status': 'ONLINE',
480480
/// });
481481
/// ```
482-
PostgrestFilterBuilder<T> match(Map query) {
483-
assert(!query.values.contains(null),
484-
'`null` equality does not work with match. Use isFilter instead.');
482+
PostgrestFilterBuilder<T> match(Map<String, Object> query) {
485483
var url = _url;
486484
query.forEach((k, v) => url = appendSearchParams(k, 'eq.$v', url));
487485
return copyWithUrl(url);

0 commit comments

Comments
 (0)