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

database/sql:how to avoid question mark as placeholder using postgres ? #3744

Closed
rw202307 opened this issue Aug 24, 2024 · 1 comment
Closed

Comments

@rw202307
Copy link

What do you want to ask?

I want to take question mark(?) as operator in dealing jsonb in postgresql.(Question mark(?) can tell if the text string exist as a top-level key or array element within the JSON value.)
However, while running program, one error occurs which says that, goframe2.7.2 take the question mark(?) as placeholder in my query. And this is my query: select col ? 'k1' from table1. ("col" is tables1's field with type jsonb in postgresql)
My question is the title shown above. How to fix it??

@yzy613
Copy link

yzy613 commented Aug 26, 2024

cy

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants