This commit is contained in:
610262374@qq.com
2018-09-29 14:52:51 +08:00
parent 89c0e03975
commit c3889a8530
3 changed files with 15 additions and 0 deletions

View File

@@ -133,5 +133,10 @@ namespace SqlSugar
{ {
return "NOW()"; return "NOW()";
} }
public override string GetRandom()
{
return "rand()";
}
} }
} }

View File

@@ -180,5 +180,10 @@ namespace SqlSugar
{ {
return "sysdate"; return "sysdate";
} }
public override string GetRandom()
{
return "dbms_random.value";
}
} }
} }

View File

@@ -208,5 +208,10 @@ namespace SqlSugar
{ {
return "DATETIME('now')"; return "DATETIME('now')";
} }
public override string GetRandom()
{
return "RANDOM()";
}
} }
} }