You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 15, 2018. It is now read-only.
how can i update a data add from itself in waterline,
in SQL query just like this: " update news_table set count_num = count_num+1 where id = 1; "
News_table
.update(
{id:1},
{count_num :'count_num + 1'}
)
.exec(function afterwards(err, updated){
//do something
}
but not work,how can i write it? tks!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
hi ,all
how can i update a data add from itself in waterline,
in SQL query just like this: " update news_table set count_num = count_num+1 where id = 1; "
News_table
.update(
{id:1},
{count_num :'count_num + 1'}
)
.exec(function afterwards(err, updated){
//do something
}
but not work,how can i write it? tks!
The text was updated successfully, but these errors were encountered: