We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I can't find anything in the documentation, so I was wondering if it was possible or not.
Let's say I have a table :
interface JsonBContent { data?: { [key in 'one' | 'two']?: number } } const tableWithJsonB = defineTable({ id: text().notNull(), annee: text(), content: jsonb<JsonBContent>() })
I'd like to query this data given the presence of the key 'one' in the row. In full sql I can do it like that :
select * from tableWithJsonB where tableWithJsonB.contenu -> 'data' ? 'one'
But I can't find a way to do that with mammoth. Is there something I am missing?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I can't find anything in the documentation, so I was wondering if it was possible or not.
Let's say I have a table :
I'd like to query this data given the presence of the key 'one' in the row.
In full sql I can do it like that :
But I can't find a way to do that with mammoth. Is there something I am missing?
The text was updated successfully, but these errors were encountered: