WeBWorK::Utils::DBImportExport - import and export the database.
List the names of the tables supported for export.
Exports data from a WeBWorK database to a WWDBv2 XML document.
%options can contain:
A WeBWorK::DB instance. Data will be exported from this database.
A file handle, opened for writing. The XML output will we written to this file handle.
A reference to a list specifying the set of tables from which to export data.
Unimplemented.
Imports the data from a WWDBv2 XML document into a WeBWorK database.
In this version, the entire XML parse tree is held in RAM during the import. This can be very memory intensive for large import files.
%options can contain:
A string containing WWDBv2 XML data or a file handle opened for reading from a WWDBv2 XML document.
A WeBWorK::DB instance. Imported data will be added to this database.
A reference to a list specifying the set of tables from which to import data.
Unimplemented.
A string, containing either "skip" or "replace", indicating what to do with duplicate records. If not set, duplicate records are skipped.