Firestorm firestore 的 ORM 框架

程序名称:Firestorm

Firestorm 介绍

Firestorm 是一个 firestore 的 TypeScript ORM 框架。

示例代码:

import * as firestorm from 'firebase-firestorm';
...
const firestore = firebase.initializeApp(...);
firestorm.initialize(firestore, /* options */);

@rootCollection({
  name: 'posts',
})
export default class Post extends Entity {
  @field({ name: 'title' })
  title!: string;

  @field({ name: 'content' })
  content!: string;
}

export default class Comment extends Entity {
  @field({ name: 'content' })
  content!: string;

  @field({ name: 'by' })
  by!: string;
}

Firestorm 官网

https://github.com/lmcq/firebase-firestorm

相关编程语言

SchemaCrawler提供一组用于增强标准JDBC Metadata的...
ER Master 是一个用于设计ER模型图的Eclipse插件。提...
Eclipse下用于画数据库ER图的插件,主要特性如下: ...
PowerDesigner 是Sybase的企业建模和设计解决方案,...
Mogwai ERDesigner NG是一个实体关系建模工具类似于...
Power*Architect 是一个数据建模工具,主要用在数据...