mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
add seeders and migrations + rhilip/bencode
This commit is contained in:
@@ -230,6 +230,11 @@ class NexusDB
|
||||
return Capsule::table($table);
|
||||
}
|
||||
|
||||
public static function transaction(\Closure $callback, $attempts = 1)
|
||||
{
|
||||
return Capsule::connection(self::ELOQUENT_CONNECTION_NAME)->transaction($callback, $attempts);
|
||||
}
|
||||
|
||||
public static function getMysqlColumnInfo($table, $column)
|
||||
{
|
||||
static $driver;
|
||||
|
||||
Reference in New Issue
Block a user