Skip to content

Clarify usage of Json/Jsonb in query macros#3447

Merged
abonander merged 5 commits intolaunchbadge:mainfrom
Lachstec:docs/json_query_macros
Aug 24, 2024
Merged

Clarify usage of Json/Jsonb in query macros#3447
abonander merged 5 commits intolaunchbadge:mainfrom
Lachstec:docs/json_query_macros

Conversation

@Lachstec
Copy link
Copy Markdown
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
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