Sending a prepared query with a hash value. ie:
INSERT INTO Users set id=:userid

The object value sent is a JSON object:
{"userID":6ce3ef04cb2cb750d4ce0d0f9648066f"}

Whenever the hash begins with a number, the value is converted to a number. If 
the hash begins with a letter, ie. "a6ce..." Then it stores as a string 
correctly. Sometimes it even stores as a date.

The value should only be converted into a number if not wrapped in quotes and 
contains only numbers. Or if a field is set to numeric. Am I right?

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" 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/groups/opt_out.

Reply via email to