We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c60564f commit 725237dCopy full SHA for 725237d
polycode/datastore.go
@@ -50,12 +50,14 @@ func (u UnsafeDataStore) Collection(name string) UnsafeCollection {
50
}
51
52
53
-func (u UnsafeDataStore) GlobalCollection(name string) Collection {
54
- return Collection{
55
- client: u.client,
56
- sessionId: u.sessionId,
57
- name: name,
58
- isGlobal: true,
+func (u UnsafeDataStore) GlobalCollection(name string) UnsafeCollection {
+ return UnsafeCollection{
+ client: u.client,
+ sessionId: u.sessionId,
+ tenantId: u.tenantId,
+ partitionKey: u.partitionKey,
59
+ name: name,
60
+ isGlobal: true,
61
62
63
0 commit comments