firevel/firequent
最新稳定版本:0.7.2
Composer 安装命令:
composer require firevel/firequent
包简介
Limited implementation of Eloquent based on Firestore.
关键字:
README 文档
README
Laravel Eloquent for Firestore.
Overview
Firequent is a Laravel Eloquent version modified to work with Google Firestore inside Google App Engine. Firestore got the capacity to handle very high loads, and it's very fast but it offers much fewer features than traditional SQL databases.
Known limitations
- No incremental IDs. Instead random integer in range 1000000000000000 to 9007199254740991 (reason)
- Firestore is NoSQL database so no schemas/migrate support.
- Only simple where() queries (more info)
- No relationships support (soon!)
- No pagination (you should avoid using count() as counting is not supported by Firestore)
- Learn more
Usage
- Activate Firestore in you Google console (native mode)
- Inside your model file replace
use Illuminate\Database\Eloquent\Model;withuse Firevel\Firequent\Model; - If you are running your app outside Google App Engine, you will need to set GOOGLE_APPLICATION_CREDENTIALS in your .env file (more)
- Firestore is a NoSQL database, and it doesn't need migrations. Schemas are automatically generated from attributes.
统计信息
- 总下载量: 7.13k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 26
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-07-09