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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs on how to use ToField to query custom tuples in IN clause #1863

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

amitaibu
Copy link
Collaborator

No description provided.

Guide/database.markdown Outdated Show resolved Hide resolved
@amitaibu amitaibu changed the title Docs on how to use ToField to query custom tuples in IN clause Docs on how to use ToField to query custom tuples in IN clause Nov 17, 2023
### Implementing `ToField` For Custom Types.

This is a more advanced topic, and before trying to implement it, we encourage you to
try and use the [Query Builder](https://ihp.digitallyinduced.com/Guide/querybuilder.html), as it provides a better type safety. Even the below example can be accomplished with the Query Builder.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even the below example can be accomplished with the Query Builder.

Once we have #1867 , we should link it here.

@amitaibu
Copy link
Collaborator Author

Made this a guide on the ToField implementation.

@amitaibu
Copy link
Collaborator Author

@mpscholten ready for review

@mpscholten
Copy link
Member

Shouldn't we wait until #1867 is merged? That seems like a lot simpler solution to me

@amitaibu amitaibu marked this pull request as draft December 4, 2023 05:21
@amitaibu
Copy link
Collaborator Author

amitaibu commented Dec 4, 2023

Sure, converted back to draft.

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.

None yet

2 participants