in reply to Re: Class::DBI weirdness sql error
in thread Class::DBI weirdness sql error
Hello,
My advice: don't use Class::DBI. Writing SQL isn't hard.
With all due respect, this is horrible advice.
And useful database abstraction layers cannot be generalized anyway (as they are dependent on what's being stored anyway).
Sure they can.
Class::DBI isn't a database abstraction layer - it's just syntax.
The words you are reading right now are not really words... they are just a sequence of light and dark pixels. By your reasoning, they aren't useful either. Perhaps not to you. But to me they are.
To the OP: it looks like somehow you're double ->quote()ing your SQL parameters. Regardless of the exact problem, the general problem is your unique and untested way of using Class::DBI instead of Class::DBI itself. Step in to the debugger a level or two and I'm sure the problem will jump right out at you.
Regards,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Class::DBI weirdness sql error
by JavaFan (Canon) on Mar 04, 2009 at 01:28 UTC | |
by trwww (Priest) on Mar 04, 2009 at 02:42 UTC | |
by JavaFan (Canon) on Mar 04, 2009 at 10:17 UTC | |
|
Re^3: Class::DBI weirdness sql error
by vansance (Initiate) on Mar 04, 2009 at 02:53 UTC | |
by trwww (Priest) on Mar 04, 2009 at 05:34 UTC | |
by JavaFan (Canon) on Mar 04, 2009 at 10:27 UTC | |
by JavaFan (Canon) on Mar 04, 2009 at 10:24 UTC |