majensen / libneo4j-omni

Up-to-date C library and CLI for Neo4j based on libneo4j-client
Apache License 2.0
4 stars 2 forks source link

DateTimeZoneId unimplemented #5

Open johannessen opened 8 months ago

johannessen commented 8 months ago

While adding support for accepting Neo4j::Types v2 objects as query parameters in https://github.com/majensen/perlbolt/pull/56, I noticed that the Bolt structure DateTimeZoneId is apparently unimplemented in the client:

$ perl -MNeo4j::Bolt -E 'say Neo4j::Bolt->VERSION'
0.5000

$ perl -MNeo4j::Bolt -E 'say Neo4j::Bolt->connect(...)->run_query($ARGV[0])->fetch_next' \
  'RETURN datetime("2015-06-24T12:50:35.556+0200[Africa/Johannesburg]")'
Unknown neo4j_value type encountered at Neo4j/Bolt/ResultStream.pm line 12.
johannessen commented 8 months ago

~(I haven’t actually tried this in libneo4j-omni itself, but IIUC the code base is identical, so I guess that doesn’t matter.)~ (I’ve since tried the above example on the Neo4j::Client libneo4j-omni branch, and the issue does in fact exist there as well.)