diff options
author | Teddy Wing | 2022-03-12 19:11:17 +0100 |
---|---|---|
committer | Teddy Wing | 2022-03-12 20:23:30 +0100 |
commit | c487910ee09e0cfd0e5cc2ee1e6232dd7accd073 (patch) | |
tree | 28182d1d1c646199d22fd2913b6ce741804ec1c7 /test2.yml | |
parent | 41b1d59419a18cc63386e8e246ad485a66dd603e (diff) | |
download | yaqlite-c487910ee09e0cfd0e5cc2ee1e6232dd7accd073.tar.bz2 |
yaml_extract(): Don't try to insert data for nonexistent columns
If a hash key in the input YAML does not match one of the column names
in the table we're inserting into, ignore that YAML field and use the
other columns for insertion.
Diffstat (limited to 'test2.yml')
-rw-r--r-- | test2.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test2.yml b/test2.yml new file mode 100644 index 0000000..831e4e2 --- /dev/null +++ b/test2.yml @@ -0,0 +1,5 @@ +- name: Rust + description: + email: + person_id: 875 + nonexistent: should be ignored |