Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Mojo database routing

by haukex (Archbishop)
on Feb 23, 2020 at 09:10 UTC ( [id://11113340]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    CREATE VIRTUAL TABLE contacts USING fts5(name, department);
    INSERT INTO contacts (name,department) VALUES ('John Doe','Perl');
    INSERT INTO contacts (name,department) VALUES ('Larry Wall','Perl');
    INSERT INTO contacts (name,department) VALUES ('Gloria Wall','Perl');
    
  2. or download this
    $c->sqlite->db->query(
      q{ SELECT rowid,name,department FROM contacts WHERE name MATCH ? },
      $c->stash('query') )->arrays );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-29 13:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found