Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
Generic temptables object store. More...
Classes | |
class | moodle_temptables |
Generic temptables object store.
Provides support to databases lacking some "expected behaviour" related with some operations with temporary tables like:
Basically it works as a simple store of created temporary tables, providing some simple getters/setters methods. Each database can extend it for its own purposes (for example, return correct name, see the mssql implementation)
The unique instance of the object by database connection is shared by the database and the sql_generator, so both are able to use its facilities, with the final goal of doing temporary tables support 100% cross-db and transparent within the DB API.