metal-orm 1.0.98 → 1.0.99

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.d.cts CHANGED
@@ -4214,7 +4214,7 @@ declare class SelectQueryBuilder<T = EntityInstance<TableDef>, TTable extends Ta
4214
4214
  * // rows is EntityInstance<UserTable>[] (plain objects)
4215
4215
  * rows[0] instanceof User; // false
4216
4216
  */
4217
- executePlain(ctx: OrmSession): Promise<EntityInstance<TTable>[]>;
4217
+ executePlain(ctx: OrmSession): Promise<T[]>;
4218
4218
  /**
4219
4219
  * Executes the query and returns results as real class instances.
4220
4220
  * Unlike execute(), this returns actual instances of the decorated entity class
package/dist/index.d.ts CHANGED
@@ -4214,7 +4214,7 @@ declare class SelectQueryBuilder<T = EntityInstance<TableDef>, TTable extends Ta
4214
4214
  * // rows is EntityInstance<UserTable>[] (plain objects)
4215
4215
  * rows[0] instanceof User; // false
4216
4216
  */
4217
- executePlain(ctx: OrmSession): Promise<EntityInstance<TTable>[]>;
4217
+ executePlain(ctx: OrmSession): Promise<T[]>;
4218
4218
  /**
4219
4219
  * Executes the query and returns results as real class instances.
4220
4220
  * Unlike execute(), this returns actual instances of the decorated entity class