SQLSTATE[42601]: Syntax error: 7 BŁĄD: niezakończona stała łańcuchowa w lub blisko "') where o.obj_ile > 0 and o.obj_ile > 0 " LINE 1: ...\'%') and upper(fts.obj_text) like upper('%Claude%') where... ^, query was: select count(o.obj_id) from obj o join fts on fts.obj_id = o.obj_id and upper(fts.obj_text) like upper('%Anna%') and upper(fts.obj_text) like upper('%d\'%') and upper(fts.obj_text) like upper('%Claude%') where o.obj_ile > 0 and o.obj_ile > 0