faunadb-utility
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

license npm version

faunadb-utility


__                            _ _                 _   _ _ _ _         
/ _|                          | | |               | | (_) (_) |        
| |_ __ _ _   _ _ __   __ _  __| | |__ ______ _   _| |_ _| |_| |_ _   _ 
|  _/ _` | | | | '_ \ / _` |/ _` | '_ \______| | | | __| | | | __| | | |
| || (_| | |_| | | | | (_| | (_| | |_) |     | |_| | |_| | | | |_| |_| |
|_| \__,_|\__,_|_| |_|\__,_|\__,_|_.__/       \__,_|\__|_|_|_|\__|\__, |
                                                                  __/ |
                                                                  |___/ 

Installation

npm install faunadb-utility

or

yarn add faunadb-utility

Directories

Usage

import fauna from "faunadb-utility"
const fauna = require('faunadb-utility');

Functions

  • createClasses : Create a class in fauna. (Collection)
  • createFaunaDocument : Create a fauna document.
  • createIndexes : Create a index in fauna.
  • deleteFaunaDocument : Delete a fauna document.
  • faunaClient : Create a fauna client.
  • queryAllByFaunaIndexes : Query all documents by fauna indexes.
  • queryTermByFaunaIndexes : Query documents by fauna indexes and term.
  • queryTermsByFaunaIndexes : Query documents by fauna indexes and terms.
  • updateFaunaDocument : Update a fauna document.

Directory Tree

faunadb-utility/
│   .eslintrc.js
│   .prettierrc
│   CONTRIBUTING.md
│   LICENSE
│   README.md
│   awesome-readme.config.js
│   package-lock.json
│   package.json
│   tsconfig.json
│   tslint.json
└─── src/
   │   README.md
   │   createClasses.ts
   │   createFaunaDocument.ts
   │   createIndexes.ts
   │   deleteFaunaDocument.ts
   │   faunaClient.ts
   │   index.ts
   │   queryAllByFaunaIndexes.ts
   │   queryTermByFaunaIndexes.ts
   │   queryTermsByFaunaIndexes.ts
   │   updateFaunaDocument.ts

Don't hesitate to contribute to this project.

Readme

Keywords

Package Sidebar

Install

npm i faunadb-utility

Weekly Downloads

6

Version

0.2.1

License

MIT

Unpacked Size

47.6 kB

Total Files

53

Last publish

Collaborators

  • marcaurelebesner