1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

Make store SQL Server compatible

This commit is contained in:
Harvey Kandola 2019-04-01 12:02:23 +01:00
parent 9ec858286f
commit 64403c402b
17 changed files with 112 additions and 50 deletions

View file

@ -295,3 +295,13 @@ func (p PostgreSQLProvider) VerfiyCharacterCollation(charset, collation string)
func (p PostgreSQLProvider) ConvertTimestamp() (statement string) {
return `to_timestamp(?,'YYYY-MM-DD HH24:MI:SS')`
}
// IsTrue returns "true"
func (p PostgreSQLProvider) IsTrue() string {
return "true"
}
// IsFalse returns "false"
func (p PostgreSQLProvider) IsFalse() string {
return "false"
}