dresende / node-sql-query

NodeJS SQL query builder
122 stars 103 forks source link

Use functions in SET part of UPDATE #31

Open christiaanwesterbeek opened 10 years ago

christiaanwesterbeek commented 10 years ago

I would like to create an UPDATE query where I update a column using a function like so

UPDATE table SET col=GETDATE();

Is that possible already? I checked the tests and the code, but I couldn't find anything. It seems trivial to have (and to implement).