Improve SQLite3 primary key constraint parsing#24
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #24 +/- ##
=====================================
Coverage 0.00% 0.00%
=====================================
Files 146 146
Lines 3881 3880 -1
=====================================
+ Misses 3881 3880 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Stellar docstrings on this code 😄 took me a little bit to understand exactly what this was handling. I don't expect you to document all this old code but at least adding a comment on what your change handles would be very much appreciated.
I know the unit test also shows it, but showing it briefly in the code makes the code much easier to reason about.
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
|
This PR fixes SQLite3 table parsing for tables with primary keys defined in a table constraint. Specifically, constraints with multiple parts (but whom are not compound/composite or an expression). See the added test for an example.