Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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

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 surveying the Monastery: (4)
As of 2024-03-29 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found