1
0
鏡像自 https://github.com/beego/bee.git 已同步 2025-12-28 10:08:33 +00:00

Modified mysql blob type.

此提交包含在:
Liujian
2014-10-15 10:48:50 +08:00
父節點 f75d8997ef
當前提交 3dce57e793

查看文件

@@ -51,10 +51,10 @@ var typeMappingMysqlOfRpc = map[string]string{
"mediumtext": "string",
"text": "string",
"longtext": "string",
"blob": "byte", // blob as byte
"tinyblob": "byte",
"mediumblob": "byte",
"longblob": "byte",
"blob": "[]byte", // blob as byte
"tinyblob": "[]byte",
"mediumblob": "[]byte",
"longblob": "[]byte",
"date": "time.Time", // time
"datetime": "time.Time",
"timestamp": "time.Time",
@@ -89,7 +89,7 @@ var typeMappingPostgresOfRpc = map[string]string{
"decimal": "float64",
"numeric": "float64",
"money": "float64", // money
"bytea": "byte", // binary
"bytea": "[]byte", // binary
"tsvector": "string", // fulltext
"ARRAY": "string", // array
"USER-DEFINED": "string", // user defined