mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
tag and installer&updater use english
This commit is contained in:
@@ -251,6 +251,14 @@ class NexusDB
|
||||
return DB::raw($value);
|
||||
}
|
||||
|
||||
public static function statement($value)
|
||||
{
|
||||
if (IN_NEXUS) {
|
||||
return sql_query($value);
|
||||
}
|
||||
return DB::statement($value);
|
||||
}
|
||||
|
||||
public static function transaction(\Closure $callback, $attempts = 1)
|
||||
{
|
||||
if (IN_NEXUS) {
|
||||
|
||||
Reference in New Issue
Block a user