Update DuckDb

This commit is contained in:
sunkaixuan 2025-04-20 18:57:47 +08:00
parent 281cd86f2f
commit 3e6e930bbc
2 changed files with 3 additions and 3 deletions

View File

@ -24,14 +24,14 @@ namespace SqlSugar.DuckDB
{ {
get get
{ {
return "current_date"; return "current_timestamp";
} }
} }
public override string FullSqlDateNow public override string FullSqlDateNow
{ {
get get
{ {
return "select current_date"; return "select current_timestamp";
} }
} }

View File

@ -395,7 +395,7 @@ namespace SqlSugar.DuckDB
} }
public override string GetDate() public override string GetDate()
{ {
return "NOW()"; return " current_timestamp ";
} }
public override string GetRandom() public override string GetRandom()
{ {