Database
From PX Documentation
NetDog creates networked query and result callback functions and objects that retrieve and pass data from the database. NetDog is pre-configured to work with ODBC, but can be used with whatever customized database module you choose using the configuration tools.
Key Functions
The following functions are used for basic database integration
- int NDDBGetFieldData() retrieves data from a given query object
- void NDDBStoreQuery() sends UPDATE queries to the database
- NDQueryRef NDDBLoadQuery() sends SELECT queries to the database
- void NDDBFreeQuery() frees memory from specified query
- int NDDBReportResult() appends data to specified result
Customization Functions
The following customization functions will be used if you plan to create a non-ODBC database module:
- int NDDBInstallModule() installs new custom, non-ODBC database modules, including read, write, open and close callback functions
- NDDBRef NDDBOpen() opens custom, non-ODBC databases
- void NDDBClose() closes custom, non-ODBC databases
See also Multi-Server, Database Tutorial
