GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing api-reference.treefrogframework.org — TreeFrogFramework: TSqlQuery Class Reference
Loading...
Searching...
No Matches
TSqlQuery Class Reference
Inheritance diagram for TSqlQuery:
![]()
Collaboration diagram for TSqlQuery:
![]()
Detailed DescriptionThe TSqlQuery class provides a means of executing and manipulating SQL statements. Constructor & Destructor Documentation◆ TSqlQuery() [1/2]
Constructs a TSqlQuery object using the database databaseId. ◆ TSqlQuery() [2/2]
Member Function Documentation◆ addBind()
Adds the value val to the list of values when using positional value binding and returns the query object. The order of the addBind() calls determines which placeholder a value will be bound to in the prepared query. ◆ bind() [1/2]
Set the placeholder placeholder to be bound to value val in the prepared statement. ◆ bind() [2/2]
Set the placeholder in position pos to be bound to value val in the prepared statement. Field numbering starts at 0. ◆ boundValue()
◆ boundValues()
◆ clearCachedQueries()
Clears currently cached SQL queries that are loaded by the load() function. ◆ escapeIdentifier() [1/2]
Returns the identifier escaped according to the rules of the driver driver. The identifier can either be a table name or field name, dependent on type. ◆ escapeIdentifier() [2/2]
Returns the identifier escaped according to the rules of the database databaseId. The identifier can either be a table name or field name, dependent on type. ◆ exec() [1/2]
Executes a previously prepared SQL query. Returns true if the query executed successfully; otherwise returns false. ◆ exec() [2/2]
Executes the SQL in query. Returns true and sets the query state to active if the query was successful; otherwise returns false. ◆ formatValue() [1/5]
◆ formatValue() [2/5]
Returns a string representation of the value val for the database database. ◆ formatValue() [3/5]
Returns a string representation of the value val for the database databaseId. ◆ formatValue() [4/5]
◆ formatValue() [5/5]
Returns a string representation of the value val for the database database. ◆ getNextValue()
Returns the value of first field in the next object and advances the internal iterator by one position. It can be used for a query returning at least one result, such as 'SELECT COUNT(*)'. ◆ load()
Loads a query from the given file filename. ◆ loadPreparedQuery()
◆ next()
Retrieves the next record in the result, if available, and positions the query on the retrieved record. Note that the result must be in the active state and isSelect() must return true before calling this function or it will do nothing and return false. ◆ numRowsAffected()
Returns the number of rows affected by the result's SQL statement, or -1 if it cannot be determined. Note that for SELECT statements, the value is undefined; use size() instead. If the query is not active, -1 is returned. ◆ prepare()
Prepares the SQL query query for execution. ◆ queryDirPath()
Returns the directory path for SQL query files, which is indicated by the value for application setting SqlQueriesStoredDirectory. ◆ size()
Returns the size of the result (number of rows returned), or -1 if the size cannot be determined or if the database does not support reporting information about query sizes. Note that for non-SELECT statements (isSelect() returns false), size() will return -1. If the query is not active (isActive() returns false), -1 is returned. To determine the number of rows affected by a non-SELECT statement, use numRowsAffected(). ◆ value() [1/2]
Returns the value of the field called name in the current record. If field name does not exist an invalid variant is returned. ◆ value() [2/2]
Returns the value of field index in the current record. The documentation for this class was generated from the following files:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||