Permalink
Browse files

Fix lastInsertedRowID property on tables

  • Loading branch information...
1 parent 044d5c4 commit 172633e65b29e5d6b9a4c0d676aaa1fc82c62df3 @springbase committed Feb 7, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/springbase.js
View
@@ -357,6 +357,7 @@ var exports,
method: "POST",
data: JSON.stringify(rows, dateReplacer),
success: function(body) {
+ self.lastInsertedRowID = parseInt(body, 10);
if (callback) {
callback.call();
}

0 comments on commit 172633e

Please sign in to comment.