Skip to content

Commit fb43135

Browse files
committed
operations.gql: GetItemsByValues added
1 parent e361a18 commit fb43135

File tree

1 file changed

+31
-0
lines changed
  • firebase-dataconnect/demo/firebase/dataconnect/connector

1 file changed

+31
-0
lines changed

firebase-dataconnect/demo/firebase/dataconnect/connector/operations.gql

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,37 @@ query GetItemByKey(
4949
}
5050
}
5151

52+
query GetItemsByValues(
53+
$string: String,
54+
$int: Int,
55+
$int64: Int64,
56+
$float: Float,
57+
$boolean: Boolean,
58+
$date: Date,
59+
$timestamp: Timestamp,
60+
$any: Any,
61+
) @auth(level: PUBLIC) {
62+
items: zwda6x9zyys(where: {
63+
string: { eq: $string },
64+
int: { eq: $int },
65+
int64: { eq: $int64 },
66+
float: { eq: $float },
67+
boolean: { eq: $boolean },
68+
date: { eq: $date },
69+
timestamp: { eq: $timestamp },
70+
any: { eq: $any },
71+
}) {
72+
string
73+
int
74+
int64
75+
float
76+
boolean
77+
date
78+
timestamp
79+
any
80+
}
81+
}
82+
5283
query GetAllItems @auth(level: PUBLIC) {
5384
items: zwda6x9zyys {
5485
id

0 commit comments

Comments
 (0)