Futilities/v0.6/clade/Sys/dba/InReq/infmts/DbStuff: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{page/clade/v2 |fam= {{!}} align=right {{!}} {{l/ver/clade|p=ferreteria|Sys\Data\aux\has|DataFile}} {{!}} align=center {{!}} ⇒ {{l/ver/clade|Sys\dba\InReq\infmts|DbStuff}} ⇒ {{!}} align=left {{!}} ''(none)'' |alia= {{!-!}} '''DataFile'''* [i,t] {{!!}} {{l/ver/clade|p=ferreteria|Sys\Data\aux\has|DataFile}} {{!-!}} '''QObjClass'''* [c,i] {{!!}} {{l/ver/clade|p=ferreteria|Data\Mem\QVar|Obj}} {{!-!}} '''QStrClass'''* [c,i] {{!!}} {{l/ver/clade|p=ferrete...") |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{page/clade/v2 | {{page/clade/v2 | ||
|fam= | |fam= | ||
{{!}} align=right {{!}} {{l/ver/clade|p=ferreteria|Sys\Data\aux\has|DataFile}} | {{!}} align=right {{!}} | ||
{{l/ver/clade|p=ferreteria|Sys\Data\aux\has|DataFile}}[i,t]<br> | |||
{{l/ver/clade|p=ferreteria|Sys\Data\aux\has|Schema}}[i,t] | |||
{{!}} align=center {{!}} ⇒ {{l/ver/clade|Sys\dba\InReq\infmts|DbStuff}} ⇒ | {{!}} align=center {{!}} ⇒ {{l/ver/clade|Sys\dba\InReq\infmts|DbStuff}} ⇒ | ||
{{!}} align=left {{!}} | {{!}} align=left {{!}}{{l/ver/clade|Sys\dba|InReq}} | ||
|alia= | |alia= | ||
{{!-!}} '''DataFile'''* [i,t] {{!!}} {{l/ver/clade|p=ferreteria|Sys\Data\aux\has|DataFile | {{!-!}} '''DataFile'''* [i,t] {{!!}} {{l/ver/clade/full|p=ferreteria|Sys\Data\aux\has|DataFile}} | ||
{{!-!}} '''SchemaIface'''* [i,t] {{!!}} {{l/ver/clade/full|p=ferreteria|Sys\Data\aux\has|Schema}} | |||
{{!-!}} '''SchemaIface'''* [i,t] {{!!}} {{l/ver/clade|p=ferreteria|Sys\Data\aux\has|Schema}} | |||
}} | |||
==About== | |||
* PURPOSE: input format that specifies a db connection with optional schema | |||
==History== | |||
* '''{{fmt/date|2025|03|08}}''' created | |||
* '''{{fmt/date|2025|11|15}}''' Tidied up; this is probably redundant, and could just be moved into {{l/ver/clade|Sys\dba|InReq}}. {{hashtag|TODO}} | |||
==Code== | |||
''as of {{fmt/date|2025|11|15}}'' | |||
{{fmt/php/block|1= | |||
interface iDbStuff extends DataFileIface, SchemaIface {} | |||
trait tDbStuff { | |||
use DataFileTrait; | |||
use SchemaTrait; | |||
} | |||
}} | |||
===Removed=== | |||
===={{fmt/date|2025|11|15}}==== | |||
Commented out {{fmt/date|2025|10|05}}: | |||
{{fmt/php/block|1= | |||
// ++ SETUP: dynamic/INPUT ++ // | |||
// 2025-10-05 I think these are gesproingled. There's working code in the InReq podling-classes... and shouldn't these just be in InReq? | |||
protected function ParseInputString(string $s) : void { | |||
$this->OAUserInput()->SetIt(self::KS_DBC_NAME,$s); | |||
} | |||
protected function ParseInputArgs(array $arArgs) { | |||
if (count($arArgs) > 0) { | |||
$s = $arArgs[0]; | |||
#$this->AmHere("ARG 0 PARSED AS [$s]"); | |||
$this->OAUserInput()->SetIt(self::KS_SCH_NAME,$s); | |||
} | |||
} | |||
// -- SETUP -- // | |||
}} | |||
===={{fmt/date|2025|05|31}}==== | |||
Commented out earlier: | |||
{{fmt/php/block|1= | |||
// ++ INFO ++ // | |||
protected function QDbConnSlug() : QStrIface { return $this->OAThisInput()->QDbConnSlug(); } | |||
protected function QSchemaSlug() : QStrIface { return $this->OAThisInput()->QSchemaSlug(); } | |||
// -- INFO -- // | |||
//... | |||
class caDbStuff extends BaseClass implements iDbStuff { | |||
} | |||
}} | }} | ||
Latest revision as of 21:34, 15 November 2025
| ||||||||||||||||
About
- PURPOSE: input format that specifies a db connection with optional schema
History
- 2025-03-08 created
- 2025-11-15 Tidied up; this is probably redundant, and could just be moved into InReq. #TODO
Code
interface iDbStuff extends DataFileIface, SchemaIface {}
trait tDbStuff {
use DataFileTrait;
use SchemaTrait;
}
Removed
2025-11-15
// ++ SETUP: dynamic/INPUT ++ //
// 2025-10-05 I think these are gesproingled. There's working code in the InReq podling-classes... and shouldn't these just be in InReq?
protected function ParseInputString(string $s) : void {
$this->OAUserInput()->SetIt(self::KS_DBC_NAME,$s);
}
protected function ParseInputArgs(array $arArgs) {
if (count($arArgs) > 0) {
$s = $arArgs[0];
#$this->AmHere("ARG 0 PARSED AS [$s]");
$this->OAUserInput()->SetIt(self::KS_SCH_NAME,$s);
}
}
// -- SETUP -- //
2025-05-31
Commented out earlier:
// ++ INFO ++ //
protected function QDbConnSlug() : QStrIface { return $this->OAThisInput()->QDbConnSlug(); }
protected function QSchemaSlug() : QStrIface { return $this->OAThisInput()->QSchemaSlug(); }
// -- INFO -- //
//...
class caDbStuff extends BaseClass implements iDbStuff {
}