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 |
||
| Line 6: | Line 6: | ||
|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}} | ||
{{!-!}} '''QObjClass'''* [c,i] {{!!}} {{l/ver/clade|p=ferreteria|Data\Mem\QVar|Obj}} | {{!-!}} '''QObjClass'''* [c,i] {{!!}} {{l/ver/clade/full|p=ferreteria|Data\Mem\QVar|Obj}} | ||
{{!-!}} '''QStrClass'''* [c,i] {{!!}} {{l/ver/clade|p=ferreteria|Data\Mem\QVar|Str}} | {{!-!}} '''QStrClass'''* [c,i] {{!!}} {{l/ver/clade/full|p=ferreteria|Data\Mem\QVar|Str}} | ||
{{!-!}} '''SchemaIface'''* [i,t] {{!!}} {{l/ver/clade|p=ferreteria|Sys\Data\aux\has|Schema}} | {{!-!}} '''SchemaIface'''* [i,t] {{!!}} {{l/ver/clade/full|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 | |||
==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 { | |||
} | |||
}} | }} | ||
Revision as of 21:26, 15 November 2025
| ||||||||||||||||||||
About
- PURPOSE: input format that specifies a db connection with optional schema
History
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 {
}