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

Clarify usage of Json/Jsonb in query macros #3447

Merged
merged 5 commits into from
Aug 24, 2024

Conversation

Lachstec
Copy link
Contributor

fixes #3153 by providing an example on how to use the Json adapter by using type override syntax.

@abonander abonander merged commit f69f370 into launchbadge:main Aug 24, 2024
86 checks passed
jrasanen pushed a commit to jrasanen/sqlx that referenced this pull request Oct 14, 2024
* add information and example on using json in query macros

* run cargo format

* add missing bracket to docs of json

* wrap docs in hidden async function

* change no_run to ignore
jrasanen pushed a commit to jrasanen/sqlx that referenced this pull request Oct 14, 2024
* add information and example on using json in query macros

* run cargo format

* add missing bracket to docs of json

* wrap docs in hidden async function

* change no_run to ignore
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.

Document how to use Json<T> with the query macros
2 participants