标签: sqlalchemy flask-sqlalchemy
在sqlalchemy中使用postgres,如何在json类型字段内的属性上创建索引?
这没有用:
Index("tablename.jsonfield.mykey.index", "'jsonfield'->>'mykey'")