To create a new empty migration use "typeorm migration:create" command{import { join } from 'path';
import { SnakeNamingStrategy } from 'typeorm-naming-strategies';'
如何将subQuery select with转换为TypeORM querybuilder?谢谢。SELECT `time`, (case when `start` is NULL then 0 else 1 end) `is_reserved` FROM a left join (SELECT `time` FROM b join c on c.b_id = b.id WHERE b.date = '2022-04-20') MySchedule on MySchedule.time = a.time