Replies: 1 comment
-
I have a similar question, in that SQLModel doesn't seem to support multicolumn indexes? I suppose I need to drop down to SQLAlchemy or Alembic to add a multicolumn index. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
SQLAlchemy describes the Composite Column Type here: https://docs.sqlalchemy.org/en/14/orm/composites.html
I'm trying to use Composite Column Type with SQLModel in a similar way as show above in the example, but I receive the following error:
TypeError: cannot pickle 'property' object
Has anybody successfully used the composite column type with SQLModel yet?
Operating System
Windows
Operating System Details
No response
SQLModel Version
0.0.8
Python Version
3.8.0
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions