Implement sql writer
See original GitHub issueOverview
For now tabulator
support only stream.save(format='csv')
to csv
format. It’s pretty easy to implement sql
writer just porting writers.csv.CSVWriter
to writers.sql.SQLWrter
.
What we’re aiming for:
from tabulator import Stream
with Stream('data.xls', headers=1) as stream:
stream.save('postgresql://user:pass@host:5432/database', table='excel_export')
And of course it will be a pretty cool and useful feature 👍
Plan
- port
writers.csv.CSVWriter
towriters.sql.SQLWrter
- register new writer in
config.py
- add writing tests to
tests.formats.sql
- mention writing ability in readme
sql
format section
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:13 (11 by maintainers)
Top Results From Across the Web
SQL Writer Service - SQL Server - Microsoft Learn
The SQL Writer Service provides added functionality for backup and restore of SQL Server through the Volume Shadow Copy Service framework. The ...
Read more >How To: Configuration of SQL VSS writer to avoid SQL-VDI ...
This article describes how to correctly configure the Microsoft SQL VSS writer to avoid SQLVDI errors. If you are receiving SQL-VDI errors from ......
Read more >The SQL Writer Tool - MC Trade - Zendesk
MC Trade runs on SQL, a powerful and flexible database structure that makes organizing and retrieving ... Follow these steps to use the...
Read more >Best practices for writing SQL queries - Metabase
SQL best practices: a brief guide to writing better SQL queries. · Filter with WHERE before HAVING · Avoid functions on columns in...
Read more >An Introductory SQL Tutorial: How to Write Simple Queries
Why Use SQL? ... SQL (often pronounced like “sequel”) stands for Structured Query Language, and it's used when companies have a ton of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I would like to take a crack at this, is that OK?
@akariv thanks! That helps so much with understanding how these pieces fit together 😄 .
/me rushing off to add some SQL connections strings to some YAML