ionic-vhframeworks 4.2.3 → 4.2.6

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.
@@ -11019,6 +11019,23 @@ export declare class VhQuerySales {
11019
11019
  getBill_details_byId_bill(id_bill: any): any;
11020
11020
  getBill_detail(id_bill_detail: any): any;
11021
11021
  private getBill_details;
11022
+ /**
11023
+ * @example:
11024
+ * let time = new Date();
11025
+ * time.setDate(time.getDate()-7);
11026
+ * this.vhQuerySales.getBill_details_byFields({bill_type:{$eq:1}}, {},{date:1},2)
11027
+ .then((bill_details)=>{
11028
+ console.log('getBills', bill_details);
11029
+ },(error:any)=>{
11030
+ console.log('error ', error);
11031
+ })
11032
+ * @param query
11033
+ * @param projection — đang tìm hiểu, tạm thời để giá trị là {}
11034
+ * @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
11035
+ * @param limit — null hoặc 0: không giới hạn record get về; 2: get về 2 record
11036
+ * @return — Array -> array = [{},{},...]
11037
+ */
11038
+ private getBill_details_byFields;
11022
11039
  /**
11023
11040
  * @example:
11024
11041
  * this.vhQuerySales.getBill('5fb67fda87c0f21d484cbdf3')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ionic-vhframeworks",
3
- "version": "4.2.3",
3
+ "version": "4.2.6",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"