mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update sqlite db.GetDate()
This commit is contained in:
@@ -12,14 +12,14 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return "DATETIME('now') ";
|
return " DATETIME('now', 'localtime') ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public override string FullSqlDateNow
|
public override string FullSqlDateNow
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return "select DATETIME('now') ";
|
return "select DATETIME('now', 'localtime') ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public override string RemoveParentheses(string sql)
|
public override string RemoveParentheses(string sql)
|
||||||
|
Reference in New Issue
Block a user