【Postgresql】use

http://www.jianshu.com/p/0ed65e630fd0

http://www.linuxidc.com/Linux/2013-12/94354.htm

 

tag 是一个Array字段,判断是否包含时:

select * from news
where tag @> '{电影}';

 

posted on 2017-07-05 21:13  colipso  阅读(254)  评论(0编辑  收藏  举报

导航