canonical / sqlair

Friendly type mapping for SQL databases
Apache License 2.0
16 stars 8 forks source link

Use vars for database entries and add INSERT tests #144

Closed Aflynn50 closed 3 months ago

Aflynn50 commented 3 months ago

The tests currently check query results against expected literals. With INSERT statement support we can now easily insert variables into the database. We can simply check the results against these variables instead to make the tests more standard. This PR also generally cleans up the tests.