Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Classes
moodle_temptables.php File Reference

Generic temptables object store. More...

Classes

class  moodle_temptables
 

Detailed Description

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.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later