Groups
Groups
Sign in
Groups
Groups
redisql-dev
Conversations
About
Send feedback
Help
updates can now perform simple expressions
0 views
Skip to first unread message
Jak Sprats
unread,
Dec 16, 2010, 6:10:26 AM
12/16/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to redisql-dev
checked into github yesterday.
it is not possible to perform SIMPLE expressions on columns during
updates.
Expressions like:
"count = count +1"
"num = num *4"
"events = events || ' new event'"
are supported.
I wrote this up (briefly) in the Command Reference
http://code.google.com/p/alchemydatabase/wiki/CommandReference?ts=1292497558&updated=CommandReference#Update_Expressions
UPDATE expressions currently support the following functionalities
(+=, -=, *=, /=, %=, ^=, ||=)
This is a small change, but is very helpful for simple constructs like
counters
Reply all
Reply to author
Forward
0 new messages