chore: debug

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

View File

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