Closed jedrus2000 closed 5 months ago
My case is that I got data from JSONs, from third party service, and blindly accepted data ID of UUID4 into tables Primary Key type.
Error:
If it is kind of trade off, and won't fix issue then I suggest making error message more informative:
won't fix issue
f'Could not interpret {value_string_or_filter_name} as an integer. Only integer type Primary Key is supported.'
Code point making error message:
https://github.com/iommirocks/iommi/blob/master/iommi/query.py#L992
Duplicate of #523
My case is that I got data from JSONs, from third party service, and blindly accepted data ID of UUID4 into tables Primary Key type.
Error:
If it is kind of trade off, and
won't fix issue
then I suggest making error message more informative:f'Could not interpret {value_string_or_filter_name} as an integer. Only integer type Primary Key is supported.'
Code point making error message:
https://github.com/iommirocks/iommi/blob/master/iommi/query.py#L992