summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/indexable.py
Commit message (Collapse)AuthorAgeFilesLines
* Add `default` parameter for `index_property`Jeong YunWon2016-07-111-4/+31
| | | | | | And force to use keyword arguments for trivial parameters in index_property Change-Id: I12a178128182f77a2d06b52d7e36f59a36b45a33
* `index_property` catches IndexError as well as KeyErrorJeong YunWon2016-07-051-1/+1
| | | | | | | It was raising AttributeError for key accessing in dict, but raising IndexError for index accessing in array. Change-Id: I58a2252a9e8d7f78cabcefcbe7223a4f3a729115
* Add `sqlalchemy.ext.index` for indexed attributes for ORMJeong YunWon2016-06-151-0/+320
Add `sqlalchemy.ext.index.index_property` which subscribe an index of a column with `Indexable` type. Co-authored-by: Mike Bayer <mike_mp@zzzcomputing.com> Change-Id: I238c23131e4fded5dc7f7a25eb02e26008099d00 Pull-request: https://github.com/zzzeek/sqlalchemy/pull/235