cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <sylv...@datastax.com>
Subject Re: Named bind variables and one-off queries
Date Wed, 20 Nov 2013 16:31:11 GMT
> Since C* expect a list of values for bind variables in queries, in
> non-prepared queries the driver has no direct information about the
> expected order of named variables. Is there a way to reliably predict the
> order of variable values C* will expect?


No, not until you parse the statement driver side. In other word, naming
bind variables is largely useless for one-shot prepare+execute queries.

--
Sylvain

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message