Related Documentation Download this Manual
PDF (US Ltr) - 40.8Mb
PDF (A4) - 40.9Mb
Man Pages (TGZ) - 259.7Kb
Man Pages (Zip) - 366.9Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb
PDF (A4) - 40.9Mb
Man Pages (TGZ) - 259.7Kb
Man Pages (Zip) - 366.9Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb
MySQL 9.2 Reference Manual / ... / Stored Objects / JavaScript Stored Programs / JavaScript SQL API / Table Object
TheTable 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 alsoSection 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.
TheTable object and all the methods described in this section were added in MySQL 9.2.0.
Related Documentation Download this Manual
PDF (US Ltr) - 40.8Mb
PDF (A4) - 40.9Mb
Man Pages (TGZ) - 259.7Kb
Man Pages (Zip) - 366.9Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb
PDF (A4) - 40.9Mb
Man Pages (TGZ) - 259.7Kb
Man Pages (Zip) - 366.9Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb