Expand description
Table operations: merge, update, TSV import/export, key deletes, and lookups of table data and references across the open packs and the dependencies.
StructsΒ§
- Prepared
Filter π - A
RowFilterready to check rows: its column index resolved, and its value lowercased if it ignores case.
EnumsΒ§
- Delta
Merge πOutcome - Result of a delta merge attempt: either a finished file ready to insert, or the conflicts blocking it.
- Merge
Outcome - Result of merging tables.
- Prepared
Edit π - A
RowEditwith its values converted to the types of their columns, and its indexes checked.
FunctionsΒ§
- apply_
row_ πedits - Applies prepared row edits to the rows of a table.
- copied_
value π - Returns a copy of a table value for a column of the provided type, converting it if itβs of another type.
- decoded_
to_ πjson - Returns a table value as JSON: booleans and numbers as themselves, everything else as text.
- delta_
merge_ πfiles - Delta-merges the decoded DB or Loc
sources(same type/table) against the vanilla/parent baseline, applying any already-knownresolutions. Seerpfm_extensions::mergefor the merge rules. - expected_
value π - Returns how the values a column of the provided type accepts are described in errors.
- find_
in_ πdb - Finds the first row with a value in a column of a table.
- find_
in_ πdb_ files - Finds the first row with a value in a column, among DB files.
- find_
in_ πloc_ files - Finds the first row with a key, among Loc files.
- json_
to_ πdecoded - Converts a JSON value to a table value of the provided type.
- prepare_
row_ πedits - Converts row edits to the types of their columns, and checks their indexes against the rows the table will have when each one is applied.
- references_
in_ πfile - Returns every row of a DB file with a value in any of the provided columns.
- row_
values π - Converts values given by column name to the types of their columns.
- row_
values_ πby_ column - Returns the values of a row of a table, by column name.