How to specify columns programmatically within query clauses using phantom-dsl for cassandra

Viewed 348

I need to create dynamic query clauses depending on user input, i.e. dynamically specifying the column within a query. All the examples are of the form

.where(_.id eqs myUuid)

however I need sth along the lines of

.where('id' eqs myUuid)

which is not possible. Is there any way to specify the columns of queries dynamically using phantom-dsl?

1 Answers
Related