caminte
caminte copied to clipboard
Cross-db ORM for NodeJS
.update() method does not send the results back whether the update is success or failure in case of no error. "err" param does not help when there is a success...
I am using the create method callback to get the primary key "_id", however this return the key is empty (null). ``` var category = new Category(); category.create({ name: "My...
Primary keys in redis defined in schema as String, if starts whit numbers are converted to Integer. Example id: 9725fd12-014c-420c-b347-d744f4a6d5dc is stored like id: 9725
Simply calling ``` schema.define("Something", { name: {type: String} }); schema.isActual(function(err, actual) { // never gets inside here because // self.queryAll('PRAGMA TABLE_INFO(' + self.tableEscaped(model) + ')', function (err, fields) { //...
Error started happening after upgrading to: 5.7.11 MySQL Community Server (GPL) on Oracle Linux . Any thoughts how to fix this? As a side note.. the nodejs mysql module works...
Hi, in some situations i need to skip the validation of a schema, i want to do something like this: `var obj = new ObjSchema()` `obj.skipValidation()` `obj.save(...)` Or maybe if...
I am creating a cloud application. The application involves maintaining a database and so i have designed a table with the following schema : create table connectioninfo ( device_id integer...
Example: ``` var caminte = require('caminte'), Schema = caminte.Schema, schema = new Schema('sqlite3', {database: ':memory:'}), Foo = schema.define('foo', { bar: { type: schema.String} }); schema.on('connected', function(){ var f = new...
destroyById(id, callback) - did'n return any error or result. If You try to delete existing record or non existing record result will be 'null'. I think, that this is not...
Hey. What would be the right way to have a JOIN query? Also, was trying to see if there is a way to get the last inserted it. See the...