【文件属性】:
文件名称:typeorm-pagination:用于带有TypeORM的Node Express的分页插件
文件大小:28KB
文件格式:ZIP
更新时间:2021-05-02 09:15:57
TypeScript
typeorm-pagination-typeORM缺少的分页扩展名
TL; DR
TypeORM是用于node.js的最受欢迎的ORM框架之一。 该中间件是为快速项目量身定制的typeORM缺少的分页扩展。
安装
先决条件:
表示
@ types / express
打字机
NPM:
npm install typeorm-pagination
纱
yarn add typeorm-pagination
用法
将分页功能导入您的主要Express输入文件(app.js,index.js,index.ts等)中
import { createConnection } from "typeorm" ;
import * as express from "express" ;
import * as bodyParser from "body-parser" ;
import { Re
【文件预览】:
typeorm-pagination-master
----.gitignore(17B)
----package.json(1024B)
----src()
--------helpers()
--------index.ts(1KB)
----LICENSE(1KB)
----tsconfig.json(6KB)
----.github()
--------workflows()
----README.md(4KB)
----yarn.lock(47KB)