Skip to content

Commit 63c1365

Browse files
authored
Adds tenant support to aggs query
1 parent c8ad2af commit 63c1365

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/weaviate/query.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def get(
4848
def aggs(
4949
class_name:,
5050
fields: nil,
51+
tenant: nil,
5152
where: nil,
5253
object_limit: nil,
5354
near_text: nil,
@@ -59,6 +60,7 @@ def aggs(
5960
response = client.graphql.execute(
6061
aggs_query(
6162
class_name: class_name,
63+
tenant: tenant,
6264
fields: fields,
6365
where: where,
6466
near_text: near_text,

0 commit comments

Comments
 (0)