改名
This commit is contained in:
@@ -242,6 +242,7 @@ class Db implements ISqlBuilder
|
|||||||
* @param Connection|null $connection
|
* @param Connection|null $connection
|
||||||
* @return bool|int
|
* @return bool|int
|
||||||
* @throws ConfigException
|
* @throws ConfigException
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function delete(?Connection $connection = null): bool|int
|
public function delete(?Connection $connection = null): bool|int
|
||||||
{
|
{
|
||||||
@@ -255,6 +256,7 @@ class Db implements ISqlBuilder
|
|||||||
* @param null $connection
|
* @param null $connection
|
||||||
* @return bool|int
|
* @return bool|int
|
||||||
* @throws ConfigException
|
* @throws ConfigException
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public static function drop(string $table, $connection = null): bool|int
|
public static function drop(string $table, $connection = null): bool|int
|
||||||
{
|
{
|
||||||
@@ -283,6 +285,7 @@ class Db implements ISqlBuilder
|
|||||||
* @param Connection|NULL $connection
|
* @param Connection|NULL $connection
|
||||||
* @return mixed
|
* @return mixed
|
||||||
* @throws ConfigException
|
* @throws ConfigException
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public static function showCreateSql(string $table, Connection $connection = NULL): mixed
|
public static function showCreateSql(string $table, Connection $connection = NULL): mixed
|
||||||
{
|
{
|
||||||
@@ -297,6 +300,7 @@ class Db implements ISqlBuilder
|
|||||||
* @param Connection|NULL $connection
|
* @param Connection|NULL $connection
|
||||||
* @return bool|int|null
|
* @return bool|int|null
|
||||||
* @throws ConfigException
|
* @throws ConfigException
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public static function desc(string $table, Connection $connection = NULL): bool|int|null
|
public static function desc(string $table, Connection $connection = NULL): bool|int|null
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user