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

Re^2: DBI with SQLite vs DBIX::Class search failing

by poj (Abbot)
on Oct 23, 2019 at 15:55 UTC ( [id://11107902]=note: print w/replies, xml ) Need Help??


in reply to Re: DBI with SQLite vs DBIX::Class search failing
in thread DBI with SQLite vs DBIX::Class search failing

Your code works fine for me but I was able to recreate your fault by creating ddi as a text field in api.db and entering the value with a trailing space '441224900999 '. Maybe check your SQLite file definitions match the Schema file

HTH
poj
  • Comment on Re^2: DBI with SQLite vs DBIX::Class search failing

Replies are listed 'Best First'.
Re^3: DBI with SQLite vs DBIX::Class search failing
by ghenry (Vicar) on Oct 23, 2019 at 16:13 UTC

    In #dbix-class chat it was pointed out:

    <ilmari> the DBIC one ins showing bind_param(1, 441224900999, ...), wh +ile the plain DBI one shows bind_param(1, 441224900999) <ilmari> DBIC binds integer columns as SQL_BIGINT
    I'm going to switch to Test::Postgresql58 to match our prod Dbs. Thanks all!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2025-11-16 22:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (72 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.