classLoadFacts
final class LoadFacts
Derives the facts of LOAD DATA and LOAD XML.
Rule: MYSQL-LOAD-001. The table is resolved like the table of INSERT (MYSQL-DML-TARGET-001) and is the one visible relation of the column list and of the SET assignments; a user variable of the column list is a session value. A SET value may refer to columns and user variables; the value DEFAULT is the default of its column. The file is read by the server or the client and is not examined. The statement returns no rows. Terminates: one pass over the finite lists. Source: https://dev.mysql.com/doc/refman/8.4/en/load-data.html, https://dev.mysql.com/doc/refman/8.4/en/load-xml.html. Status: Implemented.
Methods§
public function derive(LoadTable $load, Derivation $derivation): voidDerives the table, the columns and the assignments.
Parameters
$load | LoadTable | |
$derivation | Derivation |
Called from 1
Calls 7
- method-call Derivation::environment() line 35
- method-call Derivation::relation() line 36
- new Environment line 37
- new VisibleRelation line 37
- method-call Derivation::scalar() line 39
- method-call WriteScope::assign() line 41
- new WriteScope line 41
Test cases 1§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
LoadFactsTestcalls