Okay, I'm using one connection, one db, one adapter, but still, I have problems. I'm pretty sure I'm using it right, because I'm using it like it says in the doc.
The problem is, I can exec up to 15 queries in the row, and this quoteInto with array param is hitting my limits. I can send you my code on private mail Thomas. Regards, Saša Stamenković On Mon, May 24, 2010 at 9:27 PM, Thomas D. <[email protected]> wrote: > Hi, > > Саша Стаменковић wrote: > > Sure, when you have unlimited number of db operation over > > a period of time. I'll come up with my own offline quoting. > > Seems like you are missing one fact all over the time: > That quoting would use a connection to a database server, isn't a problem, > because Zend_Db_* would use one connection across every component. Only if > you are working with multiple databases, it might be a problem, because you > would have one adapter per database (=nAdapter * 1 Connection = n > connections)... > > So again: > When you are working with just *one* database, everything should work fine. > If not, *you* are doing something wrong. > > Doing your own quoting is everything but not safe. You should use the > adapter's escape function, if your application should be safe. > > > -- > Regards, > Thomas > > >
