remult 2.7.25-next.2 → 2.7.25

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/entity.d.ts +8 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remult",
3
- "version": "2.7.25-next.2",
3
+ "version": "2.7.25",
4
4
  "description": "A CRUD framework for full-stack TypeScript",
5
5
  "homepage": "https://remult.dev",
6
6
  "repository": {
package/src/entity.d.ts CHANGED
@@ -158,15 +158,15 @@ export interface EntityOptions<entityType = unknown> {
158
158
  dbName?: string;
159
159
  /** For entities that are based on SQL expressions instead of a physical table or view
160
160
  * @example
161
- * .@Entity('people',{
162
- * sqlExpression:`select id,name from employees
163
- * union all select id,name from contractors`,
161
+ * @Entity('people', {
162
+ * sqlExpression:`select id,name from employees
163
+ * union all select id,name from contractors`,
164
164
  * })
165
- * export class Person{
166
- * .@Fields.string()
167
- * id=''
168
- * .@Fields.string()
169
- * name=''
165
+ * export class Person {
166
+ * @Fields.string()
167
+ * id=''
168
+ * @Fields.string()
169
+ * name=''
170
170
  * }
171
171
  */
172
172
  sqlExpression?: string | ((entity: EntityMetadata<entityType>) => string | Promise<string>);