async findById(id: number, table: AnyPgTable) {
const res = await this.db.select().from(table).where(eq(table.id, id));
return res.at(0);
}
async findById(id: number, table: AnyPgTable) {
const res = await this.db.select().from(table).where(eq(table.id, id));
return res.at(0);
}