Can I use raw sql insert or update in Sails?

According to the documentation,!/documentation/reference/waterline/models/query.html, I'm able to use query() method to use native sql 'queries', but I'm confused whether insert or update is considered as 'queries' because some people use the term 'queries' to mean insert or update in sql.


Yes, the query() method will send the raw SQL

Need Your Help

Index of slide show being set to 1 after initial round

javascript jquery slideshow

I'm not exactly sure whats going on. On initial start-up the code runs flawlessly. However I notice that toIndex is changing from a 0 base to 1 after the initial run. Its throwing off the navigation

syntax error in sql update statement in vb

sql ms-access

I have this sql statement to update a column in access db from vb but when I run the program it shows that there is a syntax error in the statement. The code: