node-json-database
Advanced tools
Comparing version 0.0.22 to 0.0.23
@@ -523,2 +523,8 @@ "use strict"; | ||
}, | ||
get rowCount() { | ||
return file.tables[tableName].rows.length; | ||
}, | ||
get colCount() { | ||
return file.tables[tableName].cols.length; | ||
}, | ||
columns: { | ||
@@ -525,0 +531,0 @@ add: function (cols) { |
@@ -562,2 +562,10 @@ import * as fs from 'fs' | ||
get rowCount() { | ||
return file.tables[tableName].rows.length | ||
}, | ||
get colCount() { | ||
return file.tables[tableName].cols.length | ||
}, | ||
columns: { | ||
@@ -564,0 +572,0 @@ add(cols: DB_Table_Col[]) { |
{ | ||
"name": "node-json-database", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"description": "JS Database Management System using JSON files", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
77447
1686