├── .dockerignore ├── .editorconfig ├── .eslintrc ├── .gitignore ├── .jshintrc ├── .npmignore ├── .travis.yml ├── CHANGELOG.md ├── Dockerfile ├── LICENSE.md ├── Makefile ├── README.md ├── appveyor.yml ├── docker-compose.yml ├── helpers ├── avg.js ├── count.js ├── create-each.js ├── create-schema.js ├── create.js ├── define.js ├── describe.js ├── destroy.js ├── drop.js ├── index.js ├── join.js ├── private │ ├── connection │ │ ├── create-manager.js │ │ ├── destroy-manager.js │ │ ├── release-connection.js │ │ ├── spawn-connection.js │ │ └── spawn-or-lease-connection.js │ ├── index.js │ ├── query │ │ ├── compile-statement.js │ │ ├── initialize-query-cache.js │ │ ├── modify-record.js │ │ ├── pre-process-each-record.js │ │ ├── process-each-record.js │ │ ├── run-native-query.js │ │ └── run-query.js │ └── schema │ │ ├── build-indexes.js │ │ ├── build-schema.js │ │ ├── create-namespace.js │ │ └── escape-table-name.js ├── register-data-store.js ├── select.js ├── set-sequence.js ├── sum.js ├── teardown.js └── update.js ├── lib ├── adapter.js └── private │ └── redact-passwords.js ├── package.json └── test ├── .eslintrc ├── adapter ├── integration │ └── runner.js └── unit │ ├── create.js │ ├── define.js │ ├── describe.js │ ├── destroy.js │ ├── drop.js │ ├── find.js │ ├── registerdatastore.js │ └── update.js ├── benchmarks └── select.test.js └── support ├── benchmark-runner.js └── bootstrap.js /.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/.gitignore -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/.jshintrc -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/LICENSE.md -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/README.md -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/appveyor.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /helpers/avg.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/avg.js -------------------------------------------------------------------------------- /helpers/count.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/count.js -------------------------------------------------------------------------------- /helpers/create-each.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/create-each.js -------------------------------------------------------------------------------- /helpers/create-schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/create-schema.js -------------------------------------------------------------------------------- /helpers/create.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/create.js -------------------------------------------------------------------------------- /helpers/define.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/define.js -------------------------------------------------------------------------------- /helpers/describe.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/describe.js -------------------------------------------------------------------------------- /helpers/destroy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/destroy.js -------------------------------------------------------------------------------- /helpers/drop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/drop.js -------------------------------------------------------------------------------- /helpers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/index.js -------------------------------------------------------------------------------- /helpers/join.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/join.js -------------------------------------------------------------------------------- /helpers/private/connection/create-manager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/connection/create-manager.js -------------------------------------------------------------------------------- /helpers/private/connection/destroy-manager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/connection/destroy-manager.js -------------------------------------------------------------------------------- /helpers/private/connection/release-connection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/connection/release-connection.js -------------------------------------------------------------------------------- /helpers/private/connection/spawn-connection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/connection/spawn-connection.js -------------------------------------------------------------------------------- /helpers/private/connection/spawn-or-lease-connection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/connection/spawn-or-lease-connection.js -------------------------------------------------------------------------------- /helpers/private/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/index.js -------------------------------------------------------------------------------- /helpers/private/query/compile-statement.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/query/compile-statement.js -------------------------------------------------------------------------------- /helpers/private/query/initialize-query-cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/query/initialize-query-cache.js -------------------------------------------------------------------------------- /helpers/private/query/modify-record.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/query/modify-record.js -------------------------------------------------------------------------------- /helpers/private/query/pre-process-each-record.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/query/pre-process-each-record.js -------------------------------------------------------------------------------- /helpers/private/query/process-each-record.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/query/process-each-record.js -------------------------------------------------------------------------------- /helpers/private/query/run-native-query.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/query/run-native-query.js -------------------------------------------------------------------------------- /helpers/private/query/run-query.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/query/run-query.js -------------------------------------------------------------------------------- /helpers/private/schema/build-indexes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/schema/build-indexes.js -------------------------------------------------------------------------------- /helpers/private/schema/build-schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/schema/build-schema.js -------------------------------------------------------------------------------- /helpers/private/schema/create-namespace.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/schema/create-namespace.js -------------------------------------------------------------------------------- /helpers/private/schema/escape-table-name.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/private/schema/escape-table-name.js -------------------------------------------------------------------------------- /helpers/register-data-store.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/register-data-store.js -------------------------------------------------------------------------------- /helpers/select.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/select.js -------------------------------------------------------------------------------- /helpers/set-sequence.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/set-sequence.js -------------------------------------------------------------------------------- /helpers/sum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/sum.js -------------------------------------------------------------------------------- /helpers/teardown.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/teardown.js -------------------------------------------------------------------------------- /helpers/update.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/helpers/update.js -------------------------------------------------------------------------------- /lib/adapter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/lib/adapter.js -------------------------------------------------------------------------------- /lib/private/redact-passwords.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/lib/private/redact-passwords.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/package.json -------------------------------------------------------------------------------- /test/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/test/.eslintrc -------------------------------------------------------------------------------- /test/adapter/integration/runner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/test/adapter/integration/runner.js -------------------------------------------------------------------------------- /test/adapter/unit/create.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/test/adapter/unit/create.js -------------------------------------------------------------------------------- /test/adapter/unit/define.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/test/adapter/unit/define.js -------------------------------------------------------------------------------- /test/adapter/unit/describe.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/test/adapter/unit/describe.js -------------------------------------------------------------------------------- /test/adapter/unit/destroy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/test/adapter/unit/destroy.js -------------------------------------------------------------------------------- /test/adapter/unit/drop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/test/adapter/unit/drop.js -------------------------------------------------------------------------------- /test/adapter/unit/find.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/test/adapter/unit/find.js -------------------------------------------------------------------------------- /test/adapter/unit/registerdatastore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/test/adapter/unit/registerdatastore.js -------------------------------------------------------------------------------- /test/adapter/unit/update.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/test/adapter/unit/update.js -------------------------------------------------------------------------------- /test/benchmarks/select.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/test/benchmarks/select.test.js -------------------------------------------------------------------------------- /test/support/benchmark-runner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/test/support/benchmark-runner.js -------------------------------------------------------------------------------- /test/support/bootstrap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/balderdashy/sails-postgresql/HEAD/test/support/bootstrap.js --------------------------------------------------------------------------------