FireO is ORM package in NodeJs for the Google’s Firestore
A modern and simplest convenient ORM package in NodeJs. FireO is specifically designed for the Google’s Firestore. It implements validation, type checking, relational model logic and much more facilities. FireO is more than just ORM
Available in other language
- FireO is available also in
python
FireO Python
Getting started
Installation
npm install fireo
Example Usage
const {Model, Field} = require("fireo");
class User extends Model{
name = Field.Text();
}
const u = User.init();
u.name = "Azeem Haider";
await u.save();
// Get user
const user = await User.collection.get({key: u.key});
console.log(user.name);
License
This is official FireO Repository. Powered by OctaByte Licensed under Apache License 2.0