On Tue, Mar 30, 2010 at 3:57 PM, Subhajit Ghosh
<i.subhajit.gh...@gmail.com>wrote:

> Hi,
>
> Can the property values specified in relationships be custom objects?
>

Short answer: No.

See http://components.neo4j.org/neo4j.py/apidoc/primitives.html
 <http://components.neo4j.org/neo4j.py/apidoc/primitives.html>""" Properties
are mappings from a string key to a value. The value can be a number, a
string, an array of numbers or an array of strings. """

You will need to marshal your objects to a proper value type before you
store it. I am working on object mapping layers that would add hooks for
things like this. The Django integration is an example of such a mapping
layer.

Cheers,
-- 
Tobias Ivarsson <tobias.ivars...@neotechnology.com>
Hacker, Neo Technology
www.neotechnology.com
Cellphone: +46 706 534857
_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to