You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How should I configure graphene-sqlalchemy-filter to account for VARBINARY fields in a SQLAlchemy model?
I have no issues using graphene-sqlalchemy-filter filtering on INTEGER columns. With VARBINARY defined columns, I can filter using numeric only strings with these caveats.
Filtering with a "0" gives every value.
Filtering with an "AlphaNumeric" value or a a numeric value with a leading zero gives this error. The character referenced is the location of the first non-numeric character in the string. In this case the filter string was "75556b"
How should I configure
graphene-sqlalchemy-filter
to account for VARBINARY fields in a SQLAlchemy model?I have no issues using
graphene-sqlalchemy-filter
filtering on INTEGER columns. With VARBINARY defined columns, I can filter using numeric only strings with these caveats.You can view my code here where I'm attempting to filter the
PairXlate
table onkey
(VARBINARY) andidx_pair_xlate_group
(BIGINT).: https://github.com/palisadoes/pattoo/tree/753885eb4dfa72c525425a29c98e5fd6ef6fb8ff/pattoo/db
The text was updated successfully, but these errors were encountered: