분류
Nodejs
PostgreSQL, MySQL, SQLite3 및 RESTful 데이터 스토어용 ORM
본문
OPENRECORD는 nodejs를 위한 ActiveRecord에서 영감을 받은 ORM입니다.
https://github.com/PhilWaldmann/openrecord
const Store = require('openrecord/store/sqlite3') const store = new Store({ file: './my-posts-db.sqlite3', autoLoad: true }) store.ready(async () => { const post = await store.Model('Post').find(1) console.log(post) })
- 이전글JSON.stringify가 Express 서버를 죽인 방법 19.10.09
- 다음글JavaScript / TypeScript를 위한 속성 기반 테스트 프레임 워크 19.10.09