Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Querying 2 Values Form 1 Column in DBIx::Class

by erix (Prior)
on Jan 28, 2018 at 00:27 UTC ( [id://1208004]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    -- table t is 112 MB, 1 million rows.  The index is 190 MB (!)
    -- all queries measured on second run (to avoid uninteresting cold cac
    +he slowness)
    ...
    -- postgres specific regex-search syntax with '~' 
    SELECT * FROM t WHERE name ~ 'Franklin' and name ~ 'Linsey';
    Time: 1.895 ms
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1208004]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-25 09:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found