Results returned to the success callback of the Query method does not work for T-SQL update #144

Open
vlele opened this Issue Oct 13, 2013 · 1 comment

Projects

None yet

2 participants

@vlele
vlele commented Oct 13, 2013

When executing a TSQL update using the query method of the mssql object, the results param does not return the number of rows affected. Instead an array is returned ( as is the case with a TSQL select)

@emadb
emadb commented Oct 16, 2013

I use queryRaw. It returns an object with rowcount attribute:

{ meta: null, rowcount: 1 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment