Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

tickbin/couchdb-query-defaults

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecation Notice

Deprecation notice: This project and codebase are not maintained. We might revisit this again in the future, but for now the code is read-only :)

Query defaults

add default selector fields to your couchdb 2.0 find query selector

Installation

npm install couchdb-query-defaults

Usage

const addDefault = require('couchdb-query-defaults')
const selector = {
  a: 1,
  b: 1
}
const defaults = {
  _id: {'$gte': null}
}
const defaultedSelector = addDefault(selector, defaults)

Lead Maintainer: Jonathan Bowers

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published