Groups
Groups
Sign in
Groups
Groups
NotORM
Conversations
About
Send feedback
Help
How can I make "relative" update
26 views
Skip to first unread message
Nandiin Bao
unread,
Jul 12, 2016, 3:52:20 AM
7/12/16
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 NotORM
I want to make something like
UPDATE users SET exp
=
exp
+
1
where
role
=
lucky
can I make this with NotORM ? and how ?
Thanks in advance !
Jakub Vrana
unread,
Jul 12, 2016, 6:16:30 AM
7/12/16
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 not...@googlegroups.com
You can use `new NotORM_Literal("exp + 1")` as the value to be set. It's
documented at
http://www.notorm.com/#persistence
.
Jakub
> --
> You received this message because you are subscribed to the Google
> Groups "NotORM" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
notorm+un...@googlegroups.com
> <mailto:
notorm+un...@googlegroups.com
>.
> For more options, visit
https://groups.google.com/d/optout
.
Reply all
Reply to author
Forward
0 new messages