On Fri, Nov 2, 2018 at 11:17 AM Ruben Di Battista
<rubendibatti...@gmail.com> wrote:
>
> Hello,
>
> I have a huge insert of the type:
>
> ```
> session.execute(
>             insert_query,
>             [
>                 {
>                     'time': times[i],
>                     'elevation': elevation[i],
>                     'azimuth': azimuth[i],
>                     'doppler': doppler[i],
>                     'slant': slant[i],
>                     'passageID': passage_id
>                 }
>                 for i in six.moves.range(0, n)
>             ]
>         )
>
> ```
>
> where n is huge.
>
> I was told by a colleague that SQLALchemy limits query length to 65536 chars 
> while MySQL can cappet 33MB big queries. Can I tailor this in SQLAlchemy?

your colleague is mistaken.  SQLAlchemy has no limit on the sizes of
query strings or any other string.


>
> --
> 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 sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to