add method useViews() to turn on/off the use of views

This commit is contained in:
Uwe Steinmann 2021-09-24 10:23:11 +02:00
parent 9d926fb55c
commit 8c3c49e3b5

View File

@ -245,6 +245,15 @@ class SeedDMS_Core_DatabaseAccess {
return $this->_driver;
} /* }}} */
/**
* Turn on views instead of temp. tables
*
* @param bool $onoff turn use of views instead of temp. table on/off
*/
function useViews($onoff) { /* {{{ */
$this->_useviews = $onoff;
} /* }}} */
/**
* Destructor of SeedDMS_Core_DatabaseAccess
*/