Skip to content

SQLAlchemy warning about SQLite not decimal objects #12

@simark

Description

@simark

I've seen this while running my web frontend:

/home/simark/src/CanadianTracker/src/canadiantracker/storage.py:129: SAWarning: Dialect sqlite+pysqlite does not support Decimal objects natively, and SQLAlchemy must convert from floating point - rounding errors and other issues may occur. Please consider storing Decimal numbers as strings or integers on this platform for lossless storage.

Should we do what it says?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions