mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Update questdb bug
This commit is contained in:
@@ -67,6 +67,7 @@ namespace SqlSugar
|
|||||||
new KeyValuePair<string, CSharpDataType>("int",CSharpDataType.@int),
|
new KeyValuePair<string, CSharpDataType>("int",CSharpDataType.@int),
|
||||||
new KeyValuePair<string, CSharpDataType>("integer",CSharpDataType.@int),
|
new KeyValuePair<string, CSharpDataType>("integer",CSharpDataType.@int),
|
||||||
new KeyValuePair<string, CSharpDataType>("long",CSharpDataType.@long),
|
new KeyValuePair<string, CSharpDataType>("long",CSharpDataType.@long),
|
||||||
|
new KeyValuePair<string, CSharpDataType>("bigint",CSharpDataType.@long),
|
||||||
new KeyValuePair<string, CSharpDataType>("long256",CSharpDataType.@long),
|
new KeyValuePair<string, CSharpDataType>("long256",CSharpDataType.@long),
|
||||||
new KeyValuePair<string, CSharpDataType>("float",CSharpDataType.@float),
|
new KeyValuePair<string, CSharpDataType>("float",CSharpDataType.@float),
|
||||||
new KeyValuePair<string, CSharpDataType>("real",CSharpDataType.@float),
|
new KeyValuePair<string, CSharpDataType>("real",CSharpDataType.@float),
|
||||||
|
@@ -80,7 +80,7 @@ namespace SqlSugar
|
|||||||
object value = null;
|
object value = null;
|
||||||
if (it.Value is DateTime)
|
if (it.Value is DateTime)
|
||||||
{
|
{
|
||||||
return $" cast('{it.Value.ObjToDate().ToString("yyyy-MM-dd HH:mm:ss.fff")}' as timestamp)";
|
return $" cast('{it.Value.ObjToDate().ToString("yyyy-MM-dd HH:mm:ss.ffffff")}' as timestamp)";
|
||||||
}
|
}
|
||||||
else if (it.Value is int || it.Value is long ||it.Value is short || it.Value is short || it.Value is byte)
|
else if (it.Value is int || it.Value is long ||it.Value is short || it.Value is short || it.Value is byte)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user