├── .github ├── ISSUE_TEMPLATE.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── .jsdoc.json ├── .npmignore ├── .travis.yml ├── CHANGELOG.md ├── CONTRIBUTORS.md ├── LICENSE ├── README.md ├── deploy.sh ├── deploy_key.enc ├── index.js ├── lib ├── associations.js ├── document.js ├── error │ ├── documentError.js │ ├── hookError.js │ ├── instanceError.js │ ├── keyError.js │ ├── modelError.js │ ├── modelManagerError.js │ ├── modelNotFoundError.js │ ├── storageError.js │ └── validationError.js ├── hook.js ├── instance.js ├── key │ ├── incrementalKey.js │ ├── key.js │ ├── refDocKey.js │ └── uuid4Key.js ├── model.js ├── modelManager.js ├── operation.js ├── relationType.js ├── storageAdapter.js ├── util │ ├── data.js │ └── schema.js └── validator.js ├── package.json ├── tests ├── functional │ ├── associations.js │ ├── crud.js │ └── document.js └── unit │ ├── couchbase.js │ ├── document.js │ ├── hook.js │ ├── index.js │ ├── instance.js │ ├── key.js │ ├── model.js │ ├── modelManager.js │ ├── storageAdapter.js │ ├── storageError.js │ └── util │ └── schema.js ├── tutorials ├── 1.gettingStarted.md ├── 2.schemaDefinitionGuide.md ├── 3.quering.md ├── 3a.documentIDLookups.md ├── 3b.refDocIndexes.md ├── 3c.views.md ├── 3d.n1ql.md ├── 4.instances.md ├── 5.hooks.md ├── 6.errors.md ├── 7.customizingDocumentsKey.md ├── 8.1.0-to-2.0.md ├── 8.2.x-to-3.x.md ├── 8.upgrade-guides.md ├── images │ ├── refdoc_example1.png │ └── refdoc_example2.png └── schema.json └── yarn.lock /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/.gitignore -------------------------------------------------------------------------------- /.jsdoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/.jsdoc.json -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTORS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/CONTRIBUTORS.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/README.md -------------------------------------------------------------------------------- /deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/deploy.sh -------------------------------------------------------------------------------- /deploy_key.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/deploy_key.enc -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/index.js -------------------------------------------------------------------------------- /lib/associations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/associations.js -------------------------------------------------------------------------------- /lib/document.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/document.js -------------------------------------------------------------------------------- /lib/error/documentError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/error/documentError.js -------------------------------------------------------------------------------- /lib/error/hookError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/error/hookError.js -------------------------------------------------------------------------------- /lib/error/instanceError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/error/instanceError.js -------------------------------------------------------------------------------- /lib/error/keyError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/error/keyError.js -------------------------------------------------------------------------------- /lib/error/modelError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/error/modelError.js -------------------------------------------------------------------------------- /lib/error/modelManagerError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/error/modelManagerError.js -------------------------------------------------------------------------------- /lib/error/modelNotFoundError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/error/modelNotFoundError.js -------------------------------------------------------------------------------- /lib/error/storageError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/error/storageError.js -------------------------------------------------------------------------------- /lib/error/validationError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/error/validationError.js -------------------------------------------------------------------------------- /lib/hook.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/hook.js -------------------------------------------------------------------------------- /lib/instance.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/instance.js -------------------------------------------------------------------------------- /lib/key/incrementalKey.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/key/incrementalKey.js -------------------------------------------------------------------------------- /lib/key/key.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/key/key.js -------------------------------------------------------------------------------- /lib/key/refDocKey.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/key/refDocKey.js -------------------------------------------------------------------------------- /lib/key/uuid4Key.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/key/uuid4Key.js -------------------------------------------------------------------------------- /lib/model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/model.js -------------------------------------------------------------------------------- /lib/modelManager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/modelManager.js -------------------------------------------------------------------------------- /lib/operation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/operation.js -------------------------------------------------------------------------------- /lib/relationType.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/relationType.js -------------------------------------------------------------------------------- /lib/storageAdapter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/storageAdapter.js -------------------------------------------------------------------------------- /lib/util/data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/util/data.js -------------------------------------------------------------------------------- /lib/util/schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/util/schema.js -------------------------------------------------------------------------------- /lib/validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/lib/validator.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/package.json -------------------------------------------------------------------------------- /tests/functional/associations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tests/functional/associations.js -------------------------------------------------------------------------------- /tests/functional/crud.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tests/functional/crud.js -------------------------------------------------------------------------------- /tests/functional/document.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tests/functional/document.js -------------------------------------------------------------------------------- /tests/unit/couchbase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tests/unit/couchbase.js -------------------------------------------------------------------------------- /tests/unit/document.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tests/unit/document.js -------------------------------------------------------------------------------- /tests/unit/hook.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tests/unit/hook.js -------------------------------------------------------------------------------- /tests/unit/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tests/unit/index.js -------------------------------------------------------------------------------- /tests/unit/instance.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tests/unit/instance.js -------------------------------------------------------------------------------- /tests/unit/key.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tests/unit/key.js -------------------------------------------------------------------------------- /tests/unit/model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tests/unit/model.js -------------------------------------------------------------------------------- /tests/unit/modelManager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tests/unit/modelManager.js -------------------------------------------------------------------------------- /tests/unit/storageAdapter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tests/unit/storageAdapter.js -------------------------------------------------------------------------------- /tests/unit/storageError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tests/unit/storageError.js -------------------------------------------------------------------------------- /tests/unit/util/schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tests/unit/util/schema.js -------------------------------------------------------------------------------- /tutorials/1.gettingStarted.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tutorials/1.gettingStarted.md -------------------------------------------------------------------------------- /tutorials/2.schemaDefinitionGuide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tutorials/2.schemaDefinitionGuide.md -------------------------------------------------------------------------------- /tutorials/3.quering.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tutorials/3.quering.md -------------------------------------------------------------------------------- /tutorials/3a.documentIDLookups.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tutorials/3a.documentIDLookups.md -------------------------------------------------------------------------------- /tutorials/3b.refDocIndexes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tutorials/3b.refDocIndexes.md -------------------------------------------------------------------------------- /tutorials/3c.views.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tutorials/3d.n1ql.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tutorials/4.instances.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tutorials/4.instances.md -------------------------------------------------------------------------------- /tutorials/5.hooks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tutorials/5.hooks.md -------------------------------------------------------------------------------- /tutorials/6.errors.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tutorials/6.errors.md -------------------------------------------------------------------------------- /tutorials/7.customizingDocumentsKey.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tutorials/7.customizingDocumentsKey.md -------------------------------------------------------------------------------- /tutorials/8.1.0-to-2.0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tutorials/8.1.0-to-2.0.md -------------------------------------------------------------------------------- /tutorials/8.2.x-to-3.x.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tutorials/8.2.x-to-3.x.md -------------------------------------------------------------------------------- /tutorials/8.upgrade-guides.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tutorials/8.upgrade-guides.md -------------------------------------------------------------------------------- /tutorials/images/refdoc_example1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tutorials/images/refdoc_example1.png -------------------------------------------------------------------------------- /tutorials/images/refdoc_example2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tutorials/images/refdoc_example2.png -------------------------------------------------------------------------------- /tutorials/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/tutorials/schema.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fogine/couchbase-odm/HEAD/yarn.lock --------------------------------------------------------------------------------