mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
-
This commit is contained in:
@@ -133,5 +133,10 @@ namespace SqlSugar
|
||||
{
|
||||
return "NOW()";
|
||||
}
|
||||
|
||||
public override string GetRandom()
|
||||
{
|
||||
return "rand()";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -180,5 +180,10 @@ namespace SqlSugar
|
||||
{
|
||||
return "sysdate";
|
||||
}
|
||||
|
||||
public override string GetRandom()
|
||||
{
|
||||
return "dbms_random.value";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -208,5 +208,10 @@ namespace SqlSugar
|
||||
{
|
||||
return "DATETIME('now')";
|
||||
}
|
||||
|
||||
public override string GetRandom()
|
||||
{
|
||||
return "RANDOM()";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user