From 9dc04acf8295e20dd92d33c1a9ca769a4ef6fc08 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Tue, 7 Sep 2021 15:43:04 +0200 Subject: [PATCH] docs(llc): add documentation for filter.custom --- .../docs/Flutter/guides/understanding_filters.mdx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docusaurus/docs/Flutter/guides/understanding_filters.mdx b/docusaurus/docs/Flutter/guides/understanding_filters.mdx index 72b5eca3..e9d72ecf 100644 --- a/docusaurus/docs/Flutter/guides/understanding_filters.mdx +++ b/docusaurus/docs/Flutter/guides/understanding_filters.mdx @@ -137,6 +137,18 @@ Filter.raw(value: { }); ``` +#### Filter.custom + +The 'custom' filter is used to create a custom filter in case it does not exists or it's not been added to the SDK yet. +Note that the filter must be supported by the Stream backend in order to work. + +```dart +Filter.custom( + operator: '\$max', + value: 10, +) +``` + ### Group Queries #### Filter.and