Bulbflow provides a property class Dictionary to store dictionaries in a neo4j database. How are these indexed? Can I query it for values in the dictionary?
Neo4j does not support dicts/maps, only primitives and primitive arrays. For Neo4j, you can use the Bulbs Document
Property
to have the Python dict
converted and stored in Neo4j as a JSON string , and Bulbs will automatically convert it back into a Python dict
when you retrieve it. It will be indexed as a string in Neo4j.
See https://github.com/espeed/bulbs/blob/master/bulbs/property.py#L456
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.