FireRelations
A small library providing a utility to interact with firebase like a sql database, with basic statements. Soon to have more complex.
Installation
npm install firerelations --save
Usage
var fireRelation = ;fireRelation; //add a table definitionvar userCols = "Column1""Column2";var newTable = "tableName"userCols;fireRelation; //insertfireRelation; //Select, will return a promise with data var data = fireRelation;data //Select, with like clause will return a promise with data var data = fireRelation;data //DeletefireRelation;
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.
Release History
- 1.0.0 Initial release
- 1.0.1 Fixed bugs
- 1.0.2 Readme Updates
- 1.0.3 init doesnt return firebase object, readme coloring
- 1.0.4 added like clause to selects
- 1.0.5 readme changes, changes to add table