firestore-query-operators
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

firestore-query-operators

Build Status

Firestore query operators helper

https://shadiabuhilal.github.io/firestore-query-operators/


Usage

import firestore-query-operators

import { QueryOperators } from 'firestore-query-operators';

Or

require firestore-query-operators

const { QueryOperators } = require('firestore-query-operators');

Available Query Operations

Support query operations that used in firestore.

Variable Oprator Description
QueryOperators.lessThan < less than
QueryOperators.lessThanOrEqualTo <= less than or equal to
QueryOperators.equalTo == equal to
QueryOperators.greaterThan > greater than
QueryOperators.greaterThanOrEqualTo >= greater than or equal to
QueryOperators.notEqualTo != not equal to
QueryOperators.arrayContains array-contains array contains
QueryOperators.arrayContainsAny array-contains-any array contains any
QueryOperators.in in in
QueryOperators.notIn not-in not-in

Firestore query operations doc.

Package Sidebar

Install

npm i firestore-query-operators

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

14.5 kB

Total Files

10

Last publish

Collaborators

  • shadiabuhilal