Yes, but see my explanations for which types are actually possible. On Wed, Dec 3, 2014 at 3:31 PM, Roland Guijt <[email protected]> wrote:
> Michael, > > Just to check if I understand correctly: updating a property value with a > Cypher query produces the behavior I described? > > On Wednesday, December 3, 2014 3:19:00 PM UTC+1, Michael Hunger wrote: >> >> If you use java it depends on the type you use when setting the value. >> E.g. Integer, Short, Byte, Long, Float >> >> Via REST it only knows long and double because that's what you get back >> from JSON deserialization. >> >> In general as soon as the type of the assigned property is different, >> it's changed to the new one. >> >> >> On Wed, Dec 3, 2014 at 1:57 PM, Roland Guijt <[email protected]> wrote: >> >>> Hi all, >>> >>> I'm currently in the process of cooking up a Pluralsight course on Neo. >>> I'm wondering about the following: >>> >>> Types of a property are implicit. So assign 1 to a property, it becomes >>> a byte then update it to be 200 it becomes a short automatically? >>> >>> Or how does it work? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Neo4j" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
