Futilities/v0.6/clade/Sys/dba/InReq/infmts/DbStuff: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| 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/full|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/full|p=ferreteria|Sys\Data\aux\has|Schema}} | ||
| Line 16: | Line 16: | ||
==History== | ==History== | ||
* '''{{fmt/date|2025|03|08}}''' created | * '''{{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== | ==Code== | ||
''as of {{fmt/date|2025|11|15}}'' | ''as of {{fmt/date|2025|11|15}}'' | ||
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 {
}