public static function checkTableExists(string $tableName): bool
  {
    $query = sprintf('
select 1
from   information_schema.TABLES
where table_schema = database()
and   table_name   = %s', self::$dl->quoteString($tableName));

    return !empty(self::executeSingleton0($query));
  }
public static function checkTableExists(string $tableName): bool
  {
    $query = sprintf('
select 1
from   information_schema.TABLES
where table_schema = database()
and   table_name   = %s', self::$dl->quoteString($tableName));

    return !empty(self::executeSingleton0($query));
  }
public static function checkTableExists ( string $ tableName ) : bool { $ query = sprintf ( '
select 1
from   information_schema.TABLES
where table_schema = database()
and   table_name   = %s' , self :: $ dl -> quoteString ( $ tableName ) ) ; return ! empty ( self :: executeSingleton0 ( $ query ) ) ; }
Checks if a table exists in the current schema.

@param string $tableName The name of the table.

@return bool
Checks if a table exists in the current schema .