mirror of
https://github.com/directus/directus.git
synced 2026-01-31 00:48:16 -05:00
Fixed typo (#6558)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user