ngx-bit
Version:
A flexible NG-ZORRO helper library
31 lines (30 loc) • 941 B
TypeScript
import { CurdOption, QueryMode, SearchOption } from './types';
import { BitHttpService } from './bit-http.service';
import { BitConfig } from './bit-config';
export declare class BitCurdService {
protected http: BitHttpService;
/**
* 查询模式
* Query mode
*/
readonly mode: QueryMode;
/**
* 通用接口定义
* General interface definition
*/
protected curd: CurdOption;
constructor(bitConfig: BitConfig, http: BitHttpService);
/**
* 获取查询语句
* Get query statement
*/
getQuerySchema(options: SearchOption[]): any[];
/**
* mode: sql-orm
* php: Laravel ORM(Laravel,Lumen,Hyperf), ThinkPHP ORM
* - https://github.com/kainonly/think-bit
* - https://github.com/kainonly/hyperf-curd
* golang: https://github.com/kainonly/gin-curd
*/
protected common(options: SearchOption[]): any[];
}