Futilities/v0.6/clade/Sys/dba/InReq/infmts/DbStuff: Difference between revisions

From Woozle Writes Code
< Futilities‎ | v0.6‎ | clade‎ | Sys‎ | dba‎ | InReq‎ | infmts
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 {{!}} &rArr; {{l/ver/clade|Sys\dba\InReq\infmts|DbStuff}} &rArr;
{{!}} align=center {{!}} &rArr; {{l/ver/clade|Sys\dba\InReq\infmts|DbStuff}} &rArr;
{{!}} align=left  {{!}} ''(none)''
{{!}} 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}}
{{!-!}} '''QObjClass'''*  [c,i] {{!!}} {{l/ver/clade/full|p=ferreteria|Data\Mem\QVar|Obj}}
{{!-!}} '''QStrClass'''*  [c,i] {{!!}} {{l/ver/clade/full|p=ferreteria|Data\Mem\QVar|Str}}
{{!-!}} '''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

clade: Sys\dba\InReq\infmts\DbStuff
Clade Family

DataFile[i,t]
Schema[i,t]

DbStuff InReq
Clade Aliases
Alias Clade
DataFile* [i,t] Sys\Data\aux\has\DataFile
SchemaIface* [i,t] Sys\Data\aux\has\Schema
Subpages

About

  • PURPOSE: input format that specifies a db connection with optional schema

History

Code

as of 2025-11-15

interface iDbStuff extends DataFileIface, SchemaIface {}
trait tDbStuff {
    use DataFileTrait;
    use SchemaTrait;
}

Removed

2025-11-15

Commented out 2025-10-05:

// ++ 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 {
}