caminte
caminte copied to clipboard
Cross-db ORM for NodeJS
Memory Adapter update method is not defined ```bash Unhandled rejection Error: Method update undefined for this adapter at Function.update (//node_modules/caminte/lib/abstract-class.js:1107:19) ```
Like following ``` Car.all({where: {status: 'pending', georadius: {lng: 133.2, lat: 45.6, radius: 10}}}, (err, cars) => { console.log(cars); }) ```
**Versions:** - [email protected] - [email protected] ```sh TypeError: pg.client is not a constructor at createBlankDB (node_modules\caminte\lib\adapters\postgres.js:73:5) at PG.connect (node_modules\caminte\lib\adapters\postgres.js:60:5) at Object.initializeSchema [as initialize] (node_modules\caminte\lib\adapters\postgres.js:46:20) at new Schema (node_modules\caminte\lib\schema.js:131:13) at dbConfig.forEach.config (src\utils\database.js:30:24)...
I've tried many methods to access a model, in each case `create` is not a function. ```javascript import caminte from 'caminte' const User = caminte.model('User') ``` ```javascript import caminte from...
Is this a mistake or is there really a RethikDB?
``sh DeprecationWarning: PG.connect is deprecated - please see the upgrade guide at https://node-postgres.com/guides/upgrading ``
I already have a database with a user table. How do I query that table without having to define all fields in schema. Do something like : var user =...
when using `schema.define` (node:8839) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 16): TypeError: Cannot read property 'authenticate' of undefined
I am sending in the following params: ``` { database: 'somedb', host: 'localhost', password: 'somepassword', username: 'someusername', } ``` I am getting an error that authentication has failed without using...
Is there a plan to support Elasticsearch adapter? thx...