| Age | Commit message (Collapse) | Author | 
|---|
|  | Turns out I didn't need the type of the column, so get rid of that value
and resume using `Zero`. | 
|  | Separate this code from the main binary file. | 
|  | 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. | 
|  | This enables us to build a list of params for insertion and insert them
into the database.
Not sure if `NULL` makes sense for all of these types, but this at least
gives us the type conversion necessary to get the YAML values into the
SQL query, cool. | 
|  | Doesn't work yet as I need a way to convert `Yaml` values to Rusqlite
SQL params. | 
|  | Need to figure out what to do for NUMERIC affinity since Rusqlite
doesn't expose a variant for that pseudo-type. | 
|  |  | 
|  |  | 
|  | Creates a map from column name to type. | 
|  |  | 
|  | Want to translate YAML types to SQLite types. | 
|  | Need to figure out how to insert `table_columns.len()` values. | 
|  | Possibly ugly passing `table_columns` into `yaml_extract`, but just
trying to get things working for now.
Query a "people" DB table instead as that matches the test YAML file. | 
|  | Make it easier to find out if a column name exists in the table. | 
|  | We probably don't even need a transaction for a `SELECT`. Get rid of
that code and remove the `mut` on `dbconn` which was only necessary for
the transaction. | 
|  | Eliminated the transaction because of a borrow problem. | 
|  |  | 
|  |  | 
|  |  | 
|  | $ rustc --version
    rustc 1.59.0 (9d1b2106e 2022-02-23)
    $ cargo init --bin | 
|  |  |