MyTetra Share
Делитесь знаниями!
Using regex in WHERE in Postgres
Время создания: 30.07.2018 16:48
Текстовые метки: postgresql where regexp
Раздел: Postgresql
Запись: Velonski/mytetra-database/master/base/1532951298ueot51puw3/text.html на raw.githubusercontent.com

Write instead:


select * from table where name ~ 'foo'


The '~' operator produces a boolean result for whether the regex matches or not rather than extracting the matching subgroups.

Так же в этом разделе:
 
MyTetra Share v.0.59
Яндекс индекс цитирования