add seeders and migrations + rhilip/bencode

This commit is contained in:
xiaomlove
2021-06-08 20:43:47 +08:00
parent 6361f96d62
commit bf49c8c298
135 changed files with 12171 additions and 104 deletions
+5
View File
@@ -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;