neo4j 7.0.0.rc.1 → 7.0.0.rc.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/neo4j/active_node/persistence.rb +1 -2
- data/lib/neo4j/active_node/property.rb +0 -1
- data/lib/neo4j/active_node/query/query_proxy_methods.rb +1 -1
- data/lib/neo4j/active_node/unpersisted.rb +2 -2
- data/lib/neo4j/active_rel/property.rb +0 -1
- data/lib/neo4j/shared/property.rb +0 -1
- data/lib/neo4j/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a8afc709bd3d4e369395546f660ec08451e9d28
|
4
|
+
data.tar.gz: 181c2899fbab41d65b573631dea7db7a9333ef79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f35c3f75e3a7fd737738892811844381d8b2fb83d4533635ddf0b790ff04a9e10634a0fee4199324365c89ae144e00d9520655adc459a0d41308cbc170e21696
|
7
|
+
data.tar.gz: 080b24bf7d0bb3c9990cbbfd72de0f7a60ba172ecc0089364b2c7d5bd9c3ff0deef3a0fd7a8cf4b64e11504aa53efd9e45f10718f3b97b9d91e16efa4ec44c7f
|
@@ -57,8 +57,7 @@ module Neo4j::ActiveNode
|
|
57
57
|
def create_model
|
58
58
|
node = _create_node(props_for_create)
|
59
59
|
init_on_load(node, node.props)
|
60
|
-
|
61
|
-
@relationship_props = @deferred_nodes = nil
|
60
|
+
@deferred_nodes = nil
|
62
61
|
true
|
63
62
|
end
|
64
63
|
|
@@ -75,7 +75,7 @@ module Neo4j
|
|
75
75
|
"#{var}.#{association_id_key} = {other_node_id}"
|
76
76
|
end
|
77
77
|
node_id = other.respond_to?(:neo_id) ? other.neo_id : other
|
78
|
-
self.where(where_filter).params(other_node_id: node_id).query.return("count(#{var}) as count").first.count > 0
|
78
|
+
self.where(where_filter).params(other_node_id: node_id).query.reorder.return("count(#{var}) as count").first.count > 0
|
79
79
|
end
|
80
80
|
end
|
81
81
|
|
@@ -22,7 +22,6 @@ module Neo4j::Shared
|
|
22
22
|
|
23
23
|
def initialize(attributes = nil)
|
24
24
|
attributes = process_attributes(attributes)
|
25
|
-
@relationship_props = self.class.extract_association_attributes!(attributes)
|
26
25
|
modded_attributes = inject_defaults!(attributes)
|
27
26
|
validate_attributes!(modded_attributes)
|
28
27
|
writer_method_props = extract_writer_methods!(modded_attributes)
|
data/lib/neo4j/version.rb
CHANGED