chore: debug

This commit is contained in:
Acid Chicken (硫酸鶏) 2024-05-29 15:53:09 +09:00
parent 86dd737def
commit 92e2c5c45f
No known key found for this signature in database
GPG Key ID: 3E87B98A3F6BAB99
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ export const miRepository = {
.select('*')
.from<ObjectLiteral>(this.metadata.tableName, this.metadata.tableName)
.where('1 = 1');
console.log(builder.getQueryAndParameters());
if (findOptions) {
return await builder.setFindOptions(findOptions).getOneOrFail();
}