2026/03/11
Jump to navigation
Jump to search
|
Wednesday, March 11, 2026 (#70)
|
|
09:12
Actions:
- 🟢 created basic page for
ListSchemas - 🟡 finish revisions for
ImportSchema
10:18
- Command:
./go schema:htyp_mw replace:1 -i:local- Result: errors out at
$oCanals->ConveyCheck()because noCanalobjects have been added -- presumably because the caller didn't add any streams to$oCmd.
- Result: errors out at
...when there should be at least one: the SQL data file, as an input stream.
12:41
- Q1: What does
PairCheck()actually do?- A1:
- verifies that the folder exists
- reads folder's file-listing
- gets list of .json files found
- converts it to a list of base-names
- gets list of .sql files found
- for each .sql file:
- create a
MetaPairobject and provision its "data" side with details from said file - attempt to also provision its "info" side with details from eponymous .json file (if not found, fill in minimal details to create the file)
- create a
- A1:
- Q2: What is its relationship to
MetaPair?- A2:
PairCheckis about creating a list of MetaPair objects from the contents of a folder.- Perhaps this could be a static function of MetaPair instead of requiring a
Fo(folder-node) descendant (Sys\dba\files\DataFolder) -- or perhapsDataFolderbelongs as a Ferreteria Engine auxiliary clade instead of being DBA-specific, sinceMetaPairalready is there.
- Perhaps this could be a static function of MetaPair instead of requiring a
- A2:
20:36
Re A2: I decided to do the easier thing, for now, and just move DataFolder up to Ferreteria -- or, actually, move Futil's Sys\dba\files folder there:
[WFu]Sys\dba\files\DataFiles⇒[WFe]Sys\Data\aux\files\DataFiles[WFu]Sys\dba\files\DataFolder⇒[WFe]Sys\Data\aux\files\DataFolder