Helper for Database operations
package | salt\sql |
---|
createTablesFromObjects(\salt\DBHelper $db, array<mixed,\salt\Base> $objects)
\salt\DBHelper
database to use
array<mixed,\salt\Base>
array of Base objects for create their tables
missingTables(\salt\DBHelper $db, array<mixed,string> $classNames) : array<mixed,\salt\Base>
\salt\DBHelper
database to use
array<mixed,string>
classname of object to check existence
array<mixed,\salt\Base>
Base objects if their DB table is missing