activecypher 0.11.1 → 0.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd727afea785772beaeb00a2d67953177535dfb60b6d64690e238b1df8d809ce
|
4
|
+
data.tar.gz: '08838575c512ef8d3bafd2b7118f3c274bc8a4ba0d071e790d879294d4b05f5c'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3789c6b35b8704ae06a7b497fa0a45db948fd69dc76326805a56cc16b396fa6c753a5ff78a5d96a28357fe6d1eb900ed26787e844e83a43a56f77bb5a20df6b5
|
7
|
+
data.tar.gz: f059e3273a82ea69d12a6c16a6892a53840c0b2179f05c572c4aa6530861950273d9f03152943340e88c90361eb6a602e162c8295021f1f1b7177d5846193bd4
|
@@ -40,7 +40,8 @@ module ActiveCypher
|
|
40
40
|
|
41
41
|
# Helper methods for Cypher query generation with IDs
|
42
42
|
def self.with_direct_id(id)
|
43
|
-
|
43
|
+
# Quote the element ID to handle special characters in Neo4j element IDs
|
44
|
+
"elementId(r) = '#{id}'"
|
44
45
|
end
|
45
46
|
|
46
47
|
def self.with_param_id
|
@@ -48,7 +49,8 @@ module ActiveCypher
|
|
48
49
|
end
|
49
50
|
|
50
51
|
def self.with_direct_node_ids(a_id, b_id)
|
51
|
-
|
52
|
+
# Quote the element IDs to handle special characters like colons in UUID-based IDs
|
53
|
+
"elementId(p) = '#{a_id}' AND elementId(h) = '#{b_id}'"
|
52
54
|
end
|
53
55
|
|
54
56
|
def self.with_param_node_ids
|