How to use Postgres buit-in fulltext search and Array type with Slick ??

446 views
Skip to first unread message

briche arnaud

unread,
Jan 5, 2013, 7:20:28 AM1/5/13
to scala...@googlegroups.com
Hi,   
   I'm new to Slick and I wonder if there is a way to use advanced Postgres functionalities like Array type and built-in fulltext search ??

Pradeep Kumar Mishra

unread,
Feb 24, 2013, 8:27:09 PM2/24/13
to scala...@googlegroups.com
yeah I am also looking for pointers to this functionality. Let me know  please if you have idea?

Dan Carleton

unread,
Feb 28, 2013, 2:10:53 AM2/28/13
to scala...@googlegroups.com
I tried to create a proper TypeMapper for JDBC Arrays in PostgreSQL, but couldn't figure out how to construct a java.sql.Array other than java.sql.Connection.createArrayOf.  Connection isn't available inside TypeMappers (AFAICT) -- does anyone have a tip?

My poor man's work-around is to use string serialization, which works OK but probably has bugs:


- Dan

Christopher Vogt

unread,
Feb 28, 2013, 2:20:39 AM2/28/13
to scala...@googlegroups.com

> built-in fulltext search ??

you could probably fall back to plain SQL for that http://slick.typesafe.com/doc/1.0.0/sql.html
Message has been deleted

Pradeep Kumar Mishra

unread,
Mar 4, 2013, 8:26:55 PM3/4/13
to scala...@googlegroups.com
Yeah that's what I am planning to do but since some code is already written using lifted query, I am not sure if I can mix plain sql with lifted..that too without incurring extra db trip. 

Christopher Vogt

unread,
Mar 14, 2013, 1:17:05 PM3/14/13
to scala...@googlegroups.com

I am not sure if I can mix plain sql with lifted..

sure, you can.

Michael Slinn

unread,
Mar 15, 2013, 11:53:11 AM3/15/13
to scala...@googlegroups.com
A code example of this in the new and improved docs would be helpful.

Mike
Reply all
Reply to author
Forward
0 new messages