From 05882bb4f6f1bf98102c673b3d874e1d9482a09d Mon Sep 17 00:00:00 2001 From: ZhengYang Date: Thu, 28 Aug 2014 17:11:56 +0800 Subject: [PATCH] add time into temporal type --- g_appcode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g_appcode.go b/g_appcode.go index f15a7db..bb26b45 100644 --- a/g_appcode.go +++ b/g_appcode.go @@ -892,7 +892,7 @@ func camelCase(in string) string { } func isSQLTemporalType(t string) bool { - return t == "date" || t == "datetime" || t == "timestamp" + return t == "date" || t == "datetime" || t == "timestamp" || t == "time" } func isSQLStringType(t string) bool {