Add comment
This commit is contained in:
parent
a55f975489
commit
4bf0a43c64
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ function generateSelectStatement(
|
|||
columnSchema?.type === FieldType.DATETIME &&
|
||||
columnSchema.timeOnly
|
||||
) {
|
||||
// Time gets returned as timestamp from mssql, not matching the expected HH:mm format
|
||||
return knex.raw(`CONVERT(varchar, ${field}, 108) as "${field}"`)
|
||||
}
|
||||
return `${field} as ${field}`
|
||||
|
|
Loading…
Reference in a new issue