upsert - PouchDB plugin for upsert() and putIfNotExists() functions

  •        3

So basically, if you're tired of manually dealing with 409s or 404s in your PouchDB code, then this is the plugin for you. Perform an upsert (update or insert) operation. If you don't specify a callback, then this function returns a Promise.

https://github.com/pouchdb/upsert

Dependencies:

pouchdb-promise : ^6.1.2

Tags
Implementation
License
Platform

   




Related Projects

pouchdb-find - Easy-to-use query language for PouchDB. ⚠️ NOTICE ⚠️: moved to the PouchDB repo

  •    Javascript

Provides a simple, MongoDB-inspired query language that accomplishes the same thing as the map/reduce API, but with far less code. Eventually this will replace PouchDB's map/reduce API entirely. You'll still be able to use map/reduce, but it will be distributed as a separate plugin.

pouchdb-server - CouchDB-compatible server built on PouchDB and Node

  •    Javascript

PouchDB Server is a drop-in replacement for CouchDB, using PouchDB and Node.js. It is modeled after the single-node design of CouchDB 1.x, although it contains some CouchDB 2.x features such as Mango queries. PouchDB Server is much less battle-tested than CouchDB, but it does pass the full PouchDB test suite.

PouchDB - The Javascript Database that Syncs

  •    Javascript

PouchDB is an open-source JavaScript database inspired by Apache CouchDB that is designed to run well within the browser. PouchDB was created to help web developers build applications that work as well offline as they do online. It enables applications to store data locally while offline, then synchronize it with CouchDB and compatible servers when the application is back online, keeping the user's data in sync no matter where they next login.

upsert - Upsert on MySQL, PostgreSQL, and SQLite3

  •    Ruby

Make it easy to upsert on traditional RDBMS like MySQL, PostgreSQL, and SQLite3—hey look NoSQL!. Transparently creates (and re-uses) stored procedures/functions when necessary. You pass it a bare-metal connection to the database like Mysql2::Client (from mysql2 gem on MRI) or Java::OrgPostgresqlJdbc4::Jdbc4Connection (from jdbc-postgres on Jruby).

EFCore

  •    CSharp

EntityFrameworkCore extensions: Bulk operations (Insert, Update, Delete, Read, Upsert, Sync) and Batch (Delete, Update). Library is Lightweight and very Efficient, having all mostly used CRUD operation. Was selected in top 20 EF Core Extensions recommended by Microsoft. It is targeting NetStandard 2.0 so it can be used on project targeting NetCore(2.0+) or NetFramework(4.6.1+). Current version is using EF Core 2.2 and at the moment supports Microsoft SQL Server(2008+) and SQLite. EFCore/v.Nuget: EFCore2.1/v2.4.1 EFCore2.0/v2.0.8, and for EF Core 1.x use 1.1.0 (targeting NetStandard 1.4) Under the hood uses SqlBulkCopy for Insert, for Update/Delete combines BulkInsert with raw Sql MERGE. For SQLite there is no BulkCopy, instead library uses plain SQL combined with UPSERT. Bulk Tests can not have UseInMemoryDb because InMemoryProvider does not support Relational-specific methods. If Windows Authentication is used then in ConnectionString there should be Trusted_Connection=True; because Sql credentials are required to stay in connection.


daleharvey-pouchdb

  •    Javascript

PouchDB is a pocket-sized database.

RxDB - A realtime Database for the Web

  •    Javascript

RxDB is a realtime Database for the Web. It is reactive data-handling based on RxJS. It helps App to work even without internet. It supports Mango-Query, Encryption, Import/Export of database and lot more.

ecto - A database wrapper and language integrated query for Elixir

  •    Elixir

See the getting started guide and the online documentation.Also checkout the "What's new in Ecto 2.1" free ebook to learn more about many features since Ecto 2.0 such as many_to_many, schemaless queries, concurrent testing, upsert and more.

Apache Hudi - Streaming Data Lake Platform

  •    Java

Apache Hudi (pronounced Hoodie) stands for Hadoop Upserts Deletes and Incrementals. Hudi manages the storage of large analytical datasets on DFS (Cloud stores, HDFS or any Hadoop FileSystem compatible storage). As an organization, Hudi can help you build an efficient data lake, solving some of the most complex, low-level storage management problems, while putting data into hands of your data analysts, engineers and scientists much quicker.

cradle - a high-level CouchDB client for Node.js

  •    Javascript

Cradle is an asynchronous javascript client for CouchDB. It is somewhat higher-level than most other CouchDB clients, requiring a little less knowledge of CouchDB's REST API. Cradle also has built-in write-through caching, giving you an extra level of speed, and making document updates and deletion easier. Cradle was built from the love of CouchDB and Node.js, and tries to make the most out of this wonderful marriage of technologies. The key concept here is the common ground shared by CouchDB and Node.js, that is, javascript. The other important aspect of this marriage is the asynchronous behaviors of both these technologies. Cradle tries to make use of these symmetries, whenever it can. Cradle's API, although closely knit with CouchDB's, isn't overly so. Whenever the API can be abstracted in a friendlier, simpler way, that's the route it takes. So even though a large part of the Cradle <--> CouchDB mappings are one to one, some Cradle functions, such as save(), can perform more than one operation, depending on how they are used.

removalist - a moving team for your couch data. helps to export and import data from couchdb

  •    Javascript

a moving team for your couch data. helps to export and import data from couchdb

sofa - Standalone CouchDB Blog, used by the O'Reilly CouchDB book

  •    Javascript

Sofa showcases the potential of pure CouchDB applications. It should provide an easy way for people to put thier thoughts online, anywhere there's a running Couch. It's just HTML, JavaScript and the magic of CouchDB. Currently supports authoring by anyone with the proper roles, and comments from anyone with a user account.

node-couchdb - A new CouchDB module following node.js idioms

  •    Javascript

A thin node.js idiom based module for CouchDB's REST API that tries to stay close to the metal.If you are wondering if there is a race-condition in the above example, the answer is no. Each couchdb.Client uses an internal queue for its requests, just like http.Client. This guarantees ordering. If you want to perform multiple requests at once, use multiple couchdb.Client instances.

blob-util - Cross-browser utils for working with binary Blobs

  •    Javascript

blob-util is a Blob library for busy people. It's also a good pairing with the attachment API in PouchDB.

pokedex.org - Offline-capable Pokédex web site (unmaintained)

  •    Javascript

An index of Pokémon, built as a client-side JavaScript webapp. Powered by ServiceWorker, PouchDB, virtual-dom, and web workers. See the Introducing Pokedex.org blog post for details on the architecture.

PHP-on-Couch - Data Access Library to access a CouchDB server with PHP.

  •    PHP

Data Access Library to access a CouchDB server with PHP.

couchrest - A RESTful CouchDB client based on Heroku's RestClient and Couch

  •    Ruby

A RESTful CouchDB client based on Heroku's RestClient and Couch.js - you want the version at http://github.com/couchrest/couchrest

follow - Very stable, very reliable, NodeJS CouchDB _changes follower

  •    Javascript

Follow (upper-case F) comes from an internal Iris Couch project used in production for over a year. It works in the browser (beta) and is available as an NPM module. This looks much like the request API.

pouch - Pouch is an open-source project created to promote the container technology movement.

  •    Go

Pouch is an open-source project created by Alibaba Group to promote the container technology movement. Pouch's vision is to advance container ecosystem and promote container standards OCI(Open Container Initiative), so that container technologies become the foundation for application development in the Cloud era.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.