Fixed typo (#6558)

This commit is contained in:
Oreille
2021-06-29 14:23:25 +02:00
committed by GitHub
parent b04379ed78
commit 6b49b26e33

View File

@@ -25,7 +25,7 @@ export class HelperMySQL implements HelperFn {
}
weekday(table: string, column: string): Knex.Raw {
return this.knex.raw('DAYOFWEEK??.??)', [table, column]);
return this.knex.raw('DAYOFWEEK(??.??)', [table, column]);
}
hour(table: string, column: string): Knex.Raw {