mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 04:31:02 +02:00
Just collection = partition key
This commit is contained in:
parent
1180f49fa9
commit
190cae845a
1 changed files with 3 additions and 3 deletions
|
|
@ -112,7 +112,7 @@ class KnowledgeGraph:
|
|||
s text,
|
||||
p text,
|
||||
o text,
|
||||
PRIMARY KEY ((collection, s), p, o)
|
||||
PRIMARY KEY (collection, s, p, o)
|
||||
);
|
||||
""");
|
||||
|
||||
|
|
@ -123,7 +123,7 @@ class KnowledgeGraph:
|
|||
p text,
|
||||
o text,
|
||||
s text,
|
||||
PRIMARY KEY ((collection, p), o, s)
|
||||
PRIMARY KEY (collection, p, o, s)
|
||||
);
|
||||
""");
|
||||
|
||||
|
|
@ -134,7 +134,7 @@ class KnowledgeGraph:
|
|||
o text,
|
||||
s text,
|
||||
p text,
|
||||
PRIMARY KEY ((collection, o), s, p)
|
||||
PRIMARY KEY (collection, o, s, p)
|
||||
);
|
||||
""");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue