NodeBox

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

database.Database.table()

Syntax

table(name)

Description

Returns the table in the database with the given name. The returned Table object has various commands of its own, like find(). See also the tablename command which is even easier to use.

Example

db = ximport("database")
book = db.connect("book")
pages = book.table("pages")