database.Database.sql()
Syntax
sql(query)
Description
Executes an SQL-query on the database. A SELECT-query returns the list of records found.
Example
db = ximport("database")
book = db.connect("book")
book.sql("select * from pages")
sql(query)
Executes an SQL-query on the database. A SELECT-query returns the list of records found.
db = ximport("database")
book = db.connect("book")
book.sql("select * from pages")