Skip to content

Conversation

go-jet
Copy link
Owner

@go-jet go-jet commented Feb 14, 2022

[Fix] Poor performance when using Rows to scan the data (issue, wiki)
[New] Global AND and OR functions for better indentation of a complex conditions in the Go code and in the generated SQL (wiki)

ScanContext reused between rows.Scan calls.
Simplified assign value logic.
Use complex destination for Rows test.
Move typeStack to ScanContext, so it is shared between rows.Scan calls.
Use string.Builder for string concatenations.
Simplify value assign logic.
Move convert value to the last assign step (needs for type conversions are rare).
…ondition in the Go code and in the generated SQL.
@go-jet go-jet merged commit c29f0af into master Feb 14, 2022
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.

1 participant