You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* RedisGraph protocol v2 --compact
* Maintain support for RedisGraph protocol v1.
* Add support for RedisGraph protocol v2.
* locally cache labels, relationshipTypes, propertyKeys.
* use --compact form for all graph queries.
* RedisGraph protocol v2 --compact
* Add additional specs from quickstart at the following location:
https://oss.redislabs.com/redisgraph/
* Modify parsing to pass added specs.
* aggregate
* resultset w/o propertyKeys de-reference
* RedisGraph protocol v2 --compact
* Fix aggregate function support.
* on comparison to RedisGraph protocol v1, found
aggregate function resultset was incorrectly
not returning an array of values for the row.
* RedisGraph protocol v2 --compact
* Remove backwards compatibility for v1.
* Provide README guidance wrt previous version in a subsection under
compatibility.
* Specify the docker image which contains v2.
* Update the gem version to 2.0.0 .
* Refactor RedisGraph::Metadata to remove circular dependency between
RedisGraph and QueryResult.
* Remove eager load of Metadata.
* Only invalidate Metadata on observing labels, propertyKeys, and
relationshipTypes while reading.
* Do not parse query to determine query type; this is performed by
the module.
* Refactor and reorder parsing of the resultset columns.
* Header contains type information.
* Rows contain compact references to Metadata, so use the first
row to combine both vectors of information into an array of
columns.
* Make the specs more isolated using `described_class` w/i the graph
name.
* Make the specs more readily run individually as well as isolated
(rspec can/will run in random order) by moving graph creation into
the before.
* RedisGraph protocol v2 --compact
* Remove remnant compact/call_compact? from when supporting v1.
* Add raise on incompatible version on connect.
* Modify QueryResult columns and result_set to match expected.
* columns is as in the query.
* result_set cell by type:
* scalar - value
* node - array of properties { key => value }
* edge - array of properties { key => value }
* Revert begin/end wrap of rescue w/i rspec before(:all).
* RedisGraph protocol v2 --compact
* Add mapping of scalar values to supported scalar types.
* RedisGraph protocol v2 --compact
* Add mapping of scalar value of NULL type.
* Add TODO'd mapping of scalar value of Array type.
* Module support for this was added 3d ago, but is
not yet in the distro package or docker image.
Copy file name to clipboardExpand all lines: README.md
+9-2
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,17 @@
9
9
`redisgraph-rb` is a Ruby gem client for the [RedisGraph](https://github.com/RedisLabsModules/RedisGraph) module. It relies on `redis-rb` for Redis connection management and provides support for graph QUERY, EXPLAIN, and DELETE commands.
10
10
11
11
## RedisGraph compatibility
12
-
`redisgraph-rb` is currently compatible with RedisGraph versions <= 1.2.2.
12
+
`redisgraph-rb` is currently compatible with RedisGraph versions >= 1.99 (module version: 19900)
13
13
14
14
The result set structure introduced by RedisGraph 2.0 requires some modifications to this client. If you are interested in using this client with the latest RedisGraph, please inform us by commenting on [the corresponding issue](https://github.com/RedisGraph/redisgraph-rb/issues/1)!
15
15
16
+
### Previous Version
17
+
For RedisGraph versions >= 1.0 and < 2.0 (ie module version: 10202), instead use and refer to
18
+
the redisgraph gem version ~> 1.0.0
19
+
20
+
which corresponds to the following docker image
21
+
`docker run -p 6379:6379 -it --rm redislabs/redisgraph:1.2.2`
22
+
16
23
## Installation
17
24
To install, run:
18
25
@@ -62,7 +69,7 @@ To ensure prerequisites are installed, run the following:
62
69
These tests expect a Redis server with the Graph module loaded to be available at localhost:6379
63
70
64
71
The currently compatible version of the RedisGraph module may be run as follows:
65
-
`docker run -p 6379:6379 -it --rm redislabs/redisgraph:1.2.2`
72
+
`docker run -p 6379:6379 -it --rm redislabs/redisgraph:2.0-edge`
66
73
67
74
A simple test suite is provided, and can be run with:
0 commit comments