MM::CDatabase is an abstract class that can be used to execute SQL queries with parameters. It allows loading queries defined in files.
The query parameters are defined in arrays that associate parameter names with the respective values.
To use MM::CDatabase there needs to be a sub-class that implements several functions that use database specific API calls. Those functions implement query execution, result set traversing and error message retrieval.
More popular Database Tool
- 10.3 KB
- 09/30/2008 05:19:44