slick sql query

20 views
Skip to first unread message

Prasad Mokkapati

unread,
Jun 17, 2017, 7:27:11 PM6/17/17
to Slick / ScalaQuery
Hi
Is there a way to get meta data from a sql statement that returns no rows ?
I have the following code

val cmd = sql"#$query".as(ResultList).list
If there are no results for the sql query the list is empty.
I want to be able to get the meta data so I can retrieve the column labels

Thanks
Reply all
Reply to author
Forward
0 new messages