Expose explicit Label index creation through Cypher

Reviewers: mferencevic, ipaljak

Reviewed By: mferencevic

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D2547
This commit is contained in:
Teon Banek
2019-11-12 15:41:16 +01:00
parent 9c095501d8
commit edaa03a960
8 changed files with 73 additions and 23 deletions

View File

@@ -200,6 +200,8 @@ class InteractiveDbAccessor {
"' in range " + range_string.str());
}
bool LabelIndexExists(storage::Label label) { return true; }
bool LabelPropertyIndexExists(storage::Label label_id,
storage::Property property_id) {
auto label = dba_->LabelName(label_id);