pudo / dataset

Easy-to-use data handling for SQL data stores with support for implicit table creation, bulk loading, and transactions.
https://dataset.readthedocs.org/
MIT License
4.76k stars 297 forks source link

Add support for decimal/numeric and varchar types #383

Closed tumikosha closed 2 years ago

tumikosha commented 2 years ago

Financial datasets require decimal/numeric(16,8)

pudo commented 2 years ago

You should be able to create decimal/numeric columns like so:

from sqlalchemy.types import Numeric

table.create_column('price', Numeric(precision=..., scale=...))