the fix has merged so if you want to test the rel_1_4 branch that will confirm you have what you need.
On Tue, May 3, 2022, at 3:35 AM, Lele Gaifax wrote: > "Mike Bayer" <[email protected]> writes: > > > a fix for that is coming through at > > https://github.com/sqlalchemy/sqlalchemy/issues/7979 > > > > though it's best to give types to bindparam() objects if they don't have a > > value > > Thank you Mike, and sorry for not providing a MWE of my issue in my first > post. > > I confirm that explicitly typing the bind parameters fixed the issue. > > W.r.t. > > > (do you really need to use bindparam() directly?) > > well, yes, it's very handy in this case, because as said this is a moderately > complex query, dinamically composed by several different smaller "chunks" > generated by common functions, used in several other places. > > It would be very impractical to carry around the whole set of "parameters" and > use the implicit/automatic injection made by SA. > > Thanks again, > ciao, lele. > -- > nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri > real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. > [email protected] | -- Fortunato Depero, 1929. > > -- > SQLAlchemy - > The Python SQL Toolkit and Object Relational Mapper > > http://www.sqlalchemy.org/ > > To post example code, please provide an MCVE: Minimal, Complete, and > Verifiable Example. See http://stackoverflow.com/help/mcve for a full > description. > --- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:sqlalchemy%[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sqlalchemy/878rrjgjaj.fsf%40metapensiero.it. > -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/5dce011e-53df-46d5-a023-b8f58263ea12%40www.fastmail.com.
