Skip to content

Commit 927c706

Browse files
committed
removed duplicated flutter inline filters
1 parent 749c1d3 commit 927c706

File tree

1 file changed

+3
-3
lines changed
  • src/pages/[platform]/build-a-backend/data/data-modeling/secondary-index

1 file changed

+3
-3
lines changed

src/pages/[platform]/build-a-backend/data/data-modeling/secondary-index/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const schema = a.schema({
4848
});
4949
```
5050

51-
<InlineFilter filters={["javascript", "angular", "react-native", "react", "nextjs", "vue", "android", "flutter"]}>
51+
<InlineFilter filters={["javascript", "angular", "react-native", "react", "nextjs", "vue", "android"]}>
5252

5353
The example client query below allows you to query for "Customer" records based on their `accountRepresentativeId`:
5454

@@ -155,7 +155,7 @@ export const schema = a.schema({
155155
});
156156
```
157157

158-
<InlineFilter filters={["javascript", "angular", "react-native", "react", "nextjs", "vue", "android", "flutter"]}>
158+
<InlineFilter filters={["javascript", "angular", "react-native", "react", "nextjs", "vue", "android",]}>
159159

160160
On the client side, you should find a new `listBy...` query that's named after hash key and sort keys. For example, in this case: `listByAccountRepresentativeIdAndName`. You can supply the filter as part of this new list query:
161161

@@ -209,7 +209,7 @@ let queriedCustomers = try await Amplify.API.query(
209209

210210
<InlineFilter filters={["flutter"]}>
211211

212-
The example client query below allows you to query for "Customer" records based on their `accountRepresentativeId`:
212+
The example client query below allows you to query for "Customer" records based on their "name" AND their `accountRepresentativeId`:
213213

214214
```dart title="lib/main.dart"
215215
import 'package:amplify_api/amplify_api.dart';

0 commit comments

Comments
 (0)