ionic-vhframeworks 8.7.4 → 8.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14007,6 +14007,26 @@ export declare class VhQueryAutoWeb {
|
|
|
14007
14007
|
* @return Promise => obj ={} or null
|
|
14008
14008
|
*/
|
|
14009
14009
|
getSNIMEI(id_snimei: string): Promise<unknown>;
|
|
14010
|
+
/**
|
|
14011
|
+
* @example:
|
|
14012
|
+
* this.vhQueryAutoWeb.getSNIMEIs_byFields({name:{$eq:'name abc'}}, {},{},6,1)
|
|
14013
|
+
.then(rsp=>{
|
|
14014
|
+
console.log('rsp', rsp);
|
|
14015
|
+
if(rsp.vcode === 0){
|
|
14016
|
+
//-----------your code-----------
|
|
14017
|
+
let products = rsp.data;
|
|
14018
|
+
}
|
|
14019
|
+
},(error:any)=>{
|
|
14020
|
+
console.log('error', error)
|
|
14021
|
+
})
|
|
14022
|
+
* @param query
|
|
14023
|
+
* @param projection — đang tìm hiểu, tạm thời để giá trị là {}
|
|
14024
|
+
* @param sort — null hoặc {}:không sắp xếp; {date:1}: sắp xếp theo ASC; {date:-1}: sắp xếp theo DESC
|
|
14025
|
+
* @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
|
|
14026
|
+
* @param page — null hoặc 0 hoặc 1: get về trang đầu tiên; 2: get về trang thứ 2
|
|
14027
|
+
* @return Promise object => rsp = {vcode, msg, data(array), limit, page, totalpages}
|
|
14028
|
+
*/
|
|
14029
|
+
getSNIMEIs_byFields(query: object, projection?: object, sort?: object, limit?: number): Promise<unknown>;
|
|
14010
14030
|
/**
|
|
14011
14031
|
* @example:
|
|
14012
14032
|
* this.vhQueryAutoWeb.getSNIMEIs_byFields_byPages({name:{$eq:'name abc'}}, {},{},6,1)
|