Skip to content

Bug: Decimal type not supported #180

@thomas-huegel

Description

@thomas-huegel

Describe the bug

The Decimal type is not supported, contrary to what the documentation says.

Steps to reproduce

Insert a Decimal field:

Exception: error create: {'code': -32000, 'message': 'Error: Encountered an unknown CBOR tag'}

Expected behaviour

It should work and be recognized as Surrealdb's decimal type.

SurrealDB version

2.2

surrealdb.py version

1.0.3

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct for repository surrealdb/surrealdb.py

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions