What's the difference between exec, execO, and execA? #83
Answered
by
tantaman
AlexErrant
asked this question in
Q&A
-
And when should I use one over another? https://github.com/vlcn-io/cr-sqlite/blob/main/js/wasm-esm/wa-crsqlite/src/wrapper.ts#L135-L158 Obviously something to do with |
Beta Was this translation helpful? Give feedback.
Answered by
tantaman
Dec 2, 2022
Replies: 1 comment 1 reply
-
I'm open to better ideas for the name :) it is pretty opaque. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
AlexErrant
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
execO
returns an Object{col1: val1, col2: val2, ...}
for each rowexecA
returns an Array:[col1val, col2val, ...]
for each rowI'm open to better ideas for the name :) it is pretty opaque.