vona-module-test-vona 5.0.37 → 5.0.38
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.
- package/dist/index.js +5 -1
- package/dist/service/post.d.ts +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -820,7 +820,11 @@ let ServicePost = (_dec$E = Service(), _dec2$E = BeanInfo({
|
|
|
820
820
|
module: "test-vona"
|
|
821
821
|
}), _dec$E(_class$E = _dec2$E(_class$E = class ServicePost extends BeanBase {
|
|
822
822
|
async select() {
|
|
823
|
-
return await this.scope.model.post.select(
|
|
823
|
+
return await this.scope.model.post.select({
|
|
824
|
+
where: {
|
|
825
|
+
stars: '_skip_'
|
|
826
|
+
}
|
|
827
|
+
});
|
|
824
828
|
}
|
|
825
829
|
async select2() {
|
|
826
830
|
return await this.scope.model.post.select({
|
package/dist/service/post.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import type { TableIdentity } from 'table-identity';
|
|
2
2
|
import { BeanBase } from 'vona';
|
|
3
3
|
export declare class ServicePost extends BeanBase {
|
|
4
|
-
select(): Promise<import("vona-module-a-orm").TypeModelRelationResult_Normal<import("vona-module-test-vona").EntityPost, import("vona-module-test-vona").ModelPost,
|
|
4
|
+
select(): Promise<import("vona-module-a-orm").TypeModelRelationResult_Normal<import("vona-module-test-vona").EntityPost, import("vona-module-test-vona").ModelPost, {
|
|
5
|
+
where: {
|
|
6
|
+
stars: "_skip_";
|
|
7
|
+
};
|
|
8
|
+
}, undefined, 50>[]>;
|
|
5
9
|
select2(): Promise<import("vona-module-a-orm").TypeModelRelationResult_Normal<import("vona-module-test-vona").EntityPost, import("vona-module-test-vona").ModelPost, {
|
|
6
10
|
columns: ("id" | "title" | "userId")[];
|
|
7
11
|
where: {
|