NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

database.Database.tables()

Syntax

tables()

Description

Returns a list with all the names of all the tables in the database.

Example

db = ximport("database")
book = db.connect("book")
print book.tables()
>>> ["pages", "images"]