Gamma/MySQL : Using Gamma™ with MySQL, Version 1.1
Chapter 4. Methods and Functions Unique to Gamma
Chapter 4. Methods and Functions Unique to Gamma
Table of Contents
MYSQL.add_column
- adds a new column to a table.
MYSQL.classes_from_tables
- creates an array of Gamma classes from all tables.
MYSQL.class_from_table
- creates a Gamma class from a table.
MYSQL.create_table
- creates a new, single-column table.
MYSQL.delete
- deletes a row from a table.
MYSQL.drop_table
- deletes a table from the database.
MYSQL.insert
- inserts a new row into a table.
MYSQL.query_and_store
- queries a database and stores the results.
MYSQL.query_to_class
- maps query results to class instances.
MYSQL.query_to_temp_class
- maps query results to instance variables of a temporary class.
MYSQL.requery
- updates a row by querying the database.
MYSQL.update
- updates the database with the values in a row.
MYSQL_RES.Data
- replaces the MYSQL_RES.data field.
mysql_class_from_fields
- creates a class to hold data of future SQL queries.
mysql_pretty_print
- prints a table of rows from a query.
mysql_map_class
- maps fields and data onto an existing Gamma class.
mysql_value_string
- converts a Gamma value into a string for use in an SQL statement.
Copyright © 1995-2010 by
Cogent Real-Time Systems, Inc.
All rights reserved.