New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

anydb-sql

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anydb-sql - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

@@ -45,2 +45,4 @@ var anyDB = require('any-db');

self.models = {};
function extendedTable(table) {

@@ -107,4 +109,6 @@ // inherit everything from a regular table.

self.define = function () {
return extendedTable(sql.define.apply(sql, arguments));
self.define = function (opt) {
var t = extendedTable(sql.define.apply(sql, arguments));
self.models[opt.name] = t;
return t;
};

@@ -133,2 +137,3 @@

return self;

@@ -135,0 +140,0 @@

{
"name": "anydb-sql",
"version": "0.1.9",
"version": "0.1.10",
"description": "anydb-sql combines node-anydb and node-sql",

@@ -5,0 +5,0 @@ "main": "anydb-sql.js",