Bind iterator #3764
Unanswered
LazyMechanic
asked this question in
Q&A
Bind iterator
#3764
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
I need to bind some collection into sql (
t.cid = ANY($1)
) which is not an array (tree) and for which it is expensive to create a vector for insertion each time.I found #3651, but I can't implement this functionality for myself without patching sqlx itself because of private functions and structures (
.patch_type_by_name()
, ...).Is there a way to implement
Encode
trait for my custom iteratable collection without creating a temporary array/vec?Beta Was this translation helpful? Give feedback.
All reactions