Ferreteria/v0.6/fx/DoExport

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | fx
Jump to navigation Jump to search

About

  • Mirror: DoImport()
  • Definitions:
    • A: public function DoExport(FileIface $ofData) : ActionIface
    • B: public function DoExport(string $sSchema, RecvBuffClass $oInBuff) : CommOpIface: no longer used (as of 2025-12-09)
      • Implemented by DB Oper classes, which currently get a list of all available Schemas and then dispatch to each Schema object's DoExport() (form A). (Future: should also be able to export a single Schema by name.)

Status

  • 2025-12-09 Significant revisions, mainly resulting in the removal of the "B" form.

Usage

clade form use notes
A Sys\Data\Engine\schema\Ops require
A Sys\Data\Engine\schema\Ops\MyMar

implement, call: $oAct = $oOper->DoExport($sSchema,$oExecBuff);

A Sys\Data\Engine\aux\ActionRq\Admin\dbase\EngDbExport call: $oSchOps->DoExport(FileClass::FromSpec($fsData))
Removed code
A Sys\Data\Engine\Schema require
B Sys\Data\Engine\Oper\MyMar implement replaced by DoExportActual
B Sys\Data\Engine\aux\ActionRq\Admin\schema\EngScExport call: $this->QOSchema()->GetIt()->DoExport($this->DataFileNode(),$this->OkToReplace()) TARGET NO LONGER EXISTS

See also Futilities.