Skip to content

Conversation

@MiConnell
Copy link
Contributor

The current logic for model_rowcount could potentially result in None, and inserts fail if an unquoted None (evaluated in the macro as {{ None }}) is passed to the insert statement.

These are the only values in the macro that are unquoted numeric values ({{ model_rowcount }} vs '{{ model.description }}') so these should be the only potential broken columns.

@MiConnell MiConnell requested a review from ataft June 27, 2025 21:12
@MiConnell MiConnell merged commit fa2ff04 into main Jun 27, 2025
@MiConnell MiConnell deleted the fix/model_rowcount_none branch June 27, 2025 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants