FunSQL.jl icon indicating copy to clipboard operation
FunSQL.jl copied to clipboard

support serializing a vector of strings

Open aplavin opened this issue 1 year ago • 2 comments

Could probably relax it to allow any vectors (eg numbers)?..

aplavin avatar Nov 13 '24 17:11 aplavin

@aplavin -- thank you for the pull request.

I'm trying to grok the use cases for this, what are upsides and downsides? Anyway, we're going to be building out an IDE based upon FunSQL over at PlutoFunSQL.jl and putting together a roadmap here.

clarkevans avatar May 18 '25 09:05 clarkevans

This PR simply adds supports for vectors, as in Lit(["a", "b", "c"]). It works fine in my experience (would be nice to finally merge it...).

Ideally though, I think all Julia values in literals (FunSQL.Lit(...)) should be converted to SQL parameters/placeholders, so that they use proper serialization from corresponding DB backends.

aplavin avatar May 19 '25 21:05 aplavin