Socket
Socket
Sign inDemoInstall

caminte

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caminte - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

6

lib/adapters/rethinkdb.js

@@ -330,3 +330,3 @@ /**

});
r.db(self.database).table(model).insert(data, {upsert: true}).run(client, function (err, notice) {
r.db(self.database).table(model).insert(data, {conflict: 'replace'}).run(client, function (err, notice) {
self.pool.release(client);

@@ -387,3 +387,3 @@ err = err || notice.first_error && new Error(notice.first_error);

});
r.db(self.database).table(model).insert(data, {upsert: true}).run(client, function (err, m) {
r.db(self.database).table(model).insert(data, {conflict: 'replace'}).run(client, function (err, m) {
self.pool.release(client);

@@ -691,2 +691,2 @@ err = err || m.first_error && new Error(m.first_error);

return promise;
}
}
{
"name": "caminte",
"description": "ORM for every database: redis, mysql, neo4j, mongodb, rethinkdb, postgres, sqlite, tingodb",
"version": "0.2.2",
"version": "0.2.3",
"author": {

@@ -6,0 +6,0 @@ "name": "Aleksej Gordejev",

@@ -44,5 +44,26 @@ [![Build Status](https://travis-ci.org/biggora/caminte.png?branch=master)](https://travis-ci.org/biggora/caminte)

$ npm install caminte-cli -g
Create structure:
[caminte-cli details.](https://github.com/biggora/caminte-cli)
$ caminte -i -a mysql
Create model:
$ caminte -m User active:int name email password note:text created:date
# with tests
$ caminte -t -m User active:int name email password note:text created:date
Create model and routes:
$ caminte -c Post published:bool title content:text created:date
# with tests
$ caminte -t -c User active:int name email password note:text created:date
Create model and routes from SQL dump:
$ caminte -d dumpfile.sql
[caminte-cli more details.](https://github.com/biggora/caminte-cli)
## Overview

@@ -49,0 +70,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc