Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SQL.js to fix head operations for pg engine. #110

Merged
merged 3 commits into from
May 1, 2024

Conversation

rrindels
Copy link
Contributor

Postgres requires the "length" function vs "len" function as some SQL engines us, this patch would add the correct wrapping in the getBlobSizefn

Postgres requires the "length" function vs "len" function as some SQL engines us, this patch would add the correct wrapping in the getBlobSizefn
@mikeTWC1984
Copy link
Contributor

Actually "lenght(V)" is a default value for getBlobSizefn. It's only altered for MSSQL. Are you getting any error message referering to using "len"?

getBlobSizeFn = 'length(V)'

@rrindels
Copy link
Contributor Author

rrindels commented May 1, 2024 via email

@mikeTWC1984
Copy link
Contributor

OK. good catch. Just one more thing - any reason you use escaped " ? Why no just put statement in single quotes like:
this.getBlobSizefn = 'length("V")'

@rrindels
Copy link
Contributor Author

rrindels commented May 1, 2024 via email

@mikeTWC1984
Copy link
Contributor

OK. I guess update your comment (since it's casing issue, not function), I'll merge

@mikeTWC1984 mikeTWC1984 merged commit b359566 into cronicle-edge:main May 1, 2024
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.

2 participants