Comparing version 2.0.1 to 2.0.2
## Change log | ||
**2018-03-12 | 2.0.1** | ||
* [*] Updated dependencies | ||
**2018-03-12 | 2.0.0** | ||
* [*] Moved to ES2015 codebase, dropped support below NodeJS v6 | ||
**2018-02-19 | 1.4.1** | ||
@@ -18,7 +27,7 @@ | ||
* [x] TableColumn renamed as SelectColumn | ||
* [*] TableColumn renamed as SelectColumn | ||
**2018-02-19 | 1.0.4** | ||
* [x] Allowed $ sign in field aliases | ||
* [*] Allowed $ sign in field aliases | ||
@@ -25,0 +34,0 @@ **2018-02-19 | 1.0.1** |
@@ -16,3 +16,3 @@ /* SQB | ||
const DBMetaSelect = require('./DBMetaSelect'); | ||
const MetaDataSchema = require('./SchemaMeta'); | ||
const SchemaMeta = require('./SchemaMeta'); | ||
const extensions = require('../extensions'); | ||
@@ -43,3 +43,3 @@ | ||
this._dbmeta = this; | ||
Object.assign(this, MetaDataSchema.prototype); | ||
this.getTables = SchemaMeta.prototype.getTables; | ||
} | ||
@@ -85,3 +85,3 @@ } | ||
if (row) { | ||
result.push(new MetaDataSchema(this, row)); | ||
result.push(new SchemaMeta(this, row)); | ||
return more(); | ||
@@ -88,0 +88,0 @@ } |
@@ -19,3 +19,3 @@ /* SQB | ||
*/ | ||
class MetaDataSchema { | ||
class SchemaMeta { | ||
/** | ||
@@ -75,2 +75,2 @@ * @param {Object} owner | ||
module.exports = MetaDataSchema; | ||
module.exports = SchemaMeta; |
{ | ||
"name": "sqb", | ||
"description": "Extensible, multi-dialect SQL query builder and Database connection framework for JavaScript", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"author": "Panates Ltd.", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -20,11 +20,4 @@ | ||
SQB is an extensible, multi-dialect SQL query builder and Database connection wrapper for NodeJS. SQB can be used as a pure sql query builder or database connection wrapper. | ||
SQB is an extensible, multi-dialect SQL query builder and Database connection wrapper for NodeJS. | ||
Take a look at [DOCUMENTATION](https://panates.github.io/sqb/) for details | ||
You can report bugs and discuss features on the [GitHub issues](https://github.com/panates/sqb/issues) page | ||
Thanks to all of the great [contributions](https://github.com/panates/sqb/graphs/contributors) to the project. | ||
## Main goals | ||
@@ -40,2 +33,9 @@ | ||
You can report bugs and discuss features on the [GitHub issues](https://github.com/panates/sqb/issues) page | ||
Thanks to all of the great [contributions](https://github.com/panates/sqb/graphs/contributors) to the project. | ||
You may want to check detailed [DOCUMENTATION](https://panates.github.io/sqb/) | ||
## Installation | ||
@@ -49,7 +49,7 @@ | ||
- node >= 4.x | ||
- node >= 6.x | ||
## Change log | ||
To see changelog click [here](CHANGELOG) | ||
To see changelog click [here](CHANGELOG.md) | ||
@@ -56,0 +56,0 @@ |
137763