metal-orm 1.0.98 → 1.0.100

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.
@@ -755,10 +755,10 @@ export class SelectQueryBuilder<T = EntityInstance<TableDef>, TTable extends Tab
755
755
  * // rows is EntityInstance<UserTable>[] (plain objects)
756
756
  * rows[0] instanceof User; // false
757
757
  */
758
- async executePlain(ctx: OrmSession): Promise<EntityInstance<TTable>[]> {
759
- const builder = this.ensureDefaultSelection();
760
- const rows = await executeHydratedPlain(ctx, builder);
761
- return rows as EntityInstance<TTable>[];
758
+ async executePlain(ctx: OrmSession): Promise<T[]> {
759
+ const builder = this.ensureDefaultSelection();
760
+ const rows = await executeHydratedPlain(ctx, builder);
761
+ return rows as T[];
762
762
  }
763
763
 
764
764
  /**