- marked as minor
Copy To CSV Expression
Issue #3404
closed
I've written some code here for the odo project. I was wondering if there's any interest in having this kind of functionality in sqlalchemy.
Maybe something like
sa.Table(...).copy_to('filename.csv', **options)
Comments (3)
-
reporter -
repo owner - changed status to closed
wow I didnt even know those two DBs had a built in CSV function. I think the way you've done it is pretty nice, as far as SQLA it would be best as a recipe on the wiki at https://bitbucket.org/zzzeek/sqlalchemy/wiki/UsageRecipes. the wiki is open for editing, you can add it in if you'd like.
-
reporter Cool, will do! Thanks.
- Log in to comment