Example of insertion of many values, where the Params
is a list/vector of non-tuple?
#168
-
The example in the docs is clear and understandable:
However, I'm struggling with finding a way to adapt to cases where the params aren't a vector/list of tuples. For instance, something like this
Do you have any good patterns for writing the encoder? I could write a function |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Now that we have the pipelining mode supported, you can simply traverse with a single-row insert statement from inside of the |
Beta Was this translation helpful? Give feedback.
-
Thanks @nikita-volkov . I still haven't found the time to try this out, but it looks nice. I'll be back with a followup ASAP, but for now I'm closing this as answered. |
Beta Was this translation helpful? Give feedback.
Now that we have the pipelining mode supported, you can simply traverse with a single-row insert statement from inside of the
Pipeline
context. It should be comparable in terms of performance.