├── .eslintrc.json ├── .gitignore ├── .npmignore ├── LICENSE.md ├── README.md ├── Roadmap.md ├── docs ├── Api-SQLBuilder.html ├── Api-Select.html ├── DDL-Create.html ├── DDL-CreateIndex.html ├── DDL-CreateTable.html ├── DDL-CreateView.html ├── Functions-String.html ├── Helpers-Aggregation.html ├── Helpers-Basics.html ├── Helpers-Comparison.html ├── Helpers-JSON.html ├── Helpers-Logical.html ├── Helpers-Sorting.html ├── Querying-$insert.html ├── Querying-$select.html ├── Querying-Aggregation.html ├── Querying-Basics.html ├── Querying-Comparison.html ├── Querying-Delete.html ├── Querying-Insert.html ├── Querying-Logical.html ├── Querying-Operators.html ├── Querying-Query.html ├── Querying-Select.html ├── Querying-Sort.html ├── Querying-Sorting.html ├── Querying-Update.html ├── data.json ├── index.html ├── lib │ ├── img │ │ ├── json160.gif │ │ ├── sql-logo.png │ │ └── sql-logo1.png │ ├── main.js │ └── style │ │ └── style.css ├── licence.html └── roadmap.html ├── index.js ├── lib ├── ansi │ ├── create-index.js │ ├── create-table.js │ ├── create-view.js │ ├── delete.js │ ├── helpers.js │ ├── index.js │ ├── insert.js │ ├── joins.js │ ├── operators │ │ ├── aggregation.js │ │ ├── basic.js │ │ ├── comparison.js │ │ ├── functions.js │ │ ├── limit.md │ │ └── logical.js │ ├── select.js │ ├── union.js │ └── update.js ├── mysql │ ├── aggregation.js │ ├── create-table.js │ ├── delete.js │ ├── index.js │ ├── insert.js │ └── select.js ├── postgreSQL │ ├── aggregation.js │ ├── cast.js │ ├── create-table.js │ ├── index.js │ ├── insert.js │ ├── json.js │ └── select.js ├── sqlbuilder.js ├── sqlite │ └── index.js ├── sqlquery.js └── test.js ├── package.json ├── planetarydocs.json └── test ├── ansi ├── aggregation-operators.js ├── basic-operators.js ├── comparison-operators.js ├── create-index.js ├── create-table.js ├── create-view.js ├── delete.js ├── insert.js ├── joins.js ├── logical-operators.js ├── quote-identifiers.js ├── select.js ├── union.js └── update.js ├── mysql ├── create-table.js ├── delete.js ├── insert.js ├── mysql.js └── select-mysql.js └── postgreSQL ├── create-table.js ├── pgsql.js └── select-pgsql.js /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | docs 2 | test 3 | .eslintrc 4 | planetarydocs.json 5 | Roadmap.md 6 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/README.md -------------------------------------------------------------------------------- /Roadmap.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/Roadmap.md -------------------------------------------------------------------------------- /docs/Api-SQLBuilder.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Api-SQLBuilder.html -------------------------------------------------------------------------------- /docs/Api-Select.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Api-Select.html -------------------------------------------------------------------------------- /docs/DDL-Create.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/DDL-Create.html -------------------------------------------------------------------------------- /docs/DDL-CreateIndex.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/DDL-CreateIndex.html -------------------------------------------------------------------------------- /docs/DDL-CreateTable.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/DDL-CreateTable.html -------------------------------------------------------------------------------- /docs/DDL-CreateView.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/DDL-CreateView.html -------------------------------------------------------------------------------- /docs/Functions-String.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Functions-String.html -------------------------------------------------------------------------------- /docs/Helpers-Aggregation.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Helpers-Aggregation.html -------------------------------------------------------------------------------- /docs/Helpers-Basics.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Helpers-Basics.html -------------------------------------------------------------------------------- /docs/Helpers-Comparison.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Helpers-Comparison.html -------------------------------------------------------------------------------- /docs/Helpers-JSON.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Helpers-JSON.html -------------------------------------------------------------------------------- /docs/Helpers-Logical.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Helpers-Logical.html -------------------------------------------------------------------------------- /docs/Helpers-Sorting.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Helpers-Sorting.html -------------------------------------------------------------------------------- /docs/Querying-$insert.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Querying-$insert.html -------------------------------------------------------------------------------- /docs/Querying-$select.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Querying-$select.html -------------------------------------------------------------------------------- /docs/Querying-Aggregation.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Querying-Aggregation.html -------------------------------------------------------------------------------- /docs/Querying-Basics.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Querying-Basics.html -------------------------------------------------------------------------------- /docs/Querying-Comparison.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Querying-Comparison.html -------------------------------------------------------------------------------- /docs/Querying-Delete.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Querying-Delete.html -------------------------------------------------------------------------------- /docs/Querying-Insert.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Querying-Insert.html -------------------------------------------------------------------------------- /docs/Querying-Logical.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Querying-Logical.html -------------------------------------------------------------------------------- /docs/Querying-Operators.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Querying-Operators.html -------------------------------------------------------------------------------- /docs/Querying-Query.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Querying-Query.html -------------------------------------------------------------------------------- /docs/Querying-Select.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Querying-Select.html -------------------------------------------------------------------------------- /docs/Querying-Sort.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Querying-Sort.html -------------------------------------------------------------------------------- /docs/Querying-Sorting.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Querying-Sorting.html -------------------------------------------------------------------------------- /docs/Querying-Update.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/Querying-Update.html -------------------------------------------------------------------------------- /docs/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/data.json -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/index.html -------------------------------------------------------------------------------- /docs/lib/img/json160.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/lib/img/json160.gif -------------------------------------------------------------------------------- /docs/lib/img/sql-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/lib/img/sql-logo.png -------------------------------------------------------------------------------- /docs/lib/img/sql-logo1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/lib/img/sql-logo1.png -------------------------------------------------------------------------------- /docs/lib/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/lib/main.js -------------------------------------------------------------------------------- /docs/lib/style/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/lib/style/style.css -------------------------------------------------------------------------------- /docs/licence.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/licence.html -------------------------------------------------------------------------------- /docs/roadmap.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/docs/roadmap.html -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/index.js -------------------------------------------------------------------------------- /lib/ansi/create-index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/create-index.js -------------------------------------------------------------------------------- /lib/ansi/create-table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/create-table.js -------------------------------------------------------------------------------- /lib/ansi/create-view.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/create-view.js -------------------------------------------------------------------------------- /lib/ansi/delete.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/delete.js -------------------------------------------------------------------------------- /lib/ansi/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/helpers.js -------------------------------------------------------------------------------- /lib/ansi/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/index.js -------------------------------------------------------------------------------- /lib/ansi/insert.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/insert.js -------------------------------------------------------------------------------- /lib/ansi/joins.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/joins.js -------------------------------------------------------------------------------- /lib/ansi/operators/aggregation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/operators/aggregation.js -------------------------------------------------------------------------------- /lib/ansi/operators/basic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/operators/basic.js -------------------------------------------------------------------------------- /lib/ansi/operators/comparison.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/operators/comparison.js -------------------------------------------------------------------------------- /lib/ansi/operators/functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/operators/functions.js -------------------------------------------------------------------------------- /lib/ansi/operators/limit.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/operators/limit.md -------------------------------------------------------------------------------- /lib/ansi/operators/logical.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/operators/logical.js -------------------------------------------------------------------------------- /lib/ansi/select.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/select.js -------------------------------------------------------------------------------- /lib/ansi/union.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/union.js -------------------------------------------------------------------------------- /lib/ansi/update.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/ansi/update.js -------------------------------------------------------------------------------- /lib/mysql/aggregation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/mysql/aggregation.js -------------------------------------------------------------------------------- /lib/mysql/create-table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/mysql/create-table.js -------------------------------------------------------------------------------- /lib/mysql/delete.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/mysql/delete.js -------------------------------------------------------------------------------- /lib/mysql/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/mysql/index.js -------------------------------------------------------------------------------- /lib/mysql/insert.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/mysql/insert.js -------------------------------------------------------------------------------- /lib/mysql/select.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/mysql/select.js -------------------------------------------------------------------------------- /lib/postgreSQL/aggregation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/postgreSQL/aggregation.js -------------------------------------------------------------------------------- /lib/postgreSQL/cast.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/postgreSQL/cast.js -------------------------------------------------------------------------------- /lib/postgreSQL/create-table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/postgreSQL/create-table.js -------------------------------------------------------------------------------- /lib/postgreSQL/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/postgreSQL/index.js -------------------------------------------------------------------------------- /lib/postgreSQL/insert.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/postgreSQL/insert.js -------------------------------------------------------------------------------- /lib/postgreSQL/json.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/postgreSQL/json.js -------------------------------------------------------------------------------- /lib/postgreSQL/select.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/postgreSQL/select.js -------------------------------------------------------------------------------- /lib/sqlbuilder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/sqlbuilder.js -------------------------------------------------------------------------------- /lib/sqlite/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/sqlite/index.js -------------------------------------------------------------------------------- /lib/sqlquery.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/sqlquery.js -------------------------------------------------------------------------------- /lib/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/lib/test.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/package.json -------------------------------------------------------------------------------- /planetarydocs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/planetarydocs.json -------------------------------------------------------------------------------- /test/ansi/aggregation-operators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/ansi/aggregation-operators.js -------------------------------------------------------------------------------- /test/ansi/basic-operators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/ansi/basic-operators.js -------------------------------------------------------------------------------- /test/ansi/comparison-operators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/ansi/comparison-operators.js -------------------------------------------------------------------------------- /test/ansi/create-index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/ansi/create-index.js -------------------------------------------------------------------------------- /test/ansi/create-table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/ansi/create-table.js -------------------------------------------------------------------------------- /test/ansi/create-view.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/ansi/create-view.js -------------------------------------------------------------------------------- /test/ansi/delete.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/ansi/delete.js -------------------------------------------------------------------------------- /test/ansi/insert.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/ansi/insert.js -------------------------------------------------------------------------------- /test/ansi/joins.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/ansi/joins.js -------------------------------------------------------------------------------- /test/ansi/logical-operators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/ansi/logical-operators.js -------------------------------------------------------------------------------- /test/ansi/quote-identifiers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/ansi/quote-identifiers.js -------------------------------------------------------------------------------- /test/ansi/select.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/ansi/select.js -------------------------------------------------------------------------------- /test/ansi/union.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/ansi/union.js -------------------------------------------------------------------------------- /test/ansi/update.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/ansi/update.js -------------------------------------------------------------------------------- /test/mysql/create-table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/mysql/create-table.js -------------------------------------------------------------------------------- /test/mysql/delete.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/mysql/delete.js -------------------------------------------------------------------------------- /test/mysql/insert.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/mysql/insert.js -------------------------------------------------------------------------------- /test/mysql/mysql.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/mysql/mysql.js -------------------------------------------------------------------------------- /test/mysql/select-mysql.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/mysql/select-mysql.js -------------------------------------------------------------------------------- /test/postgreSQL/create-table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/postgreSQL/create-table.js -------------------------------------------------------------------------------- /test/postgreSQL/pgsql.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/postgreSQL/pgsql.js -------------------------------------------------------------------------------- /test/postgreSQL/select-pgsql.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/planetarydev/json-sql-builder/HEAD/test/postgreSQL/select-pgsql.js --------------------------------------------------------------------------------