The Table object represents a database table
existsInDatabase(): Returnstrueif the table exists in the current database, otherwisefalse.count(): Returns the number of rows in this table if it exists in the current database, otherwise throws an error.isView(): Returnstrueif the table is a view, otherwisefalse.See also Section 27.6, “Using Views”, for further information about database views in MySQL.
getName(): Returns theSchemain which this table resides.getSession(): Returns theSessionobject corresponding to the current session.
The Table object and all the methods
described in this section were added in MySQL 9.2.0.