Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow string indexing into Record (#501)
* Allow string indexing into Record The Record interface inherits from Sequence which only supports integer indexing. The Postgres backend supports string indexing into Records (https://github.com/encode/databases/blob/master/databases/backends/postgres.py#L135). This PR updates the interface to reflect that. At least on the Postgres backend __getitem__ deserializes some data types, so it's not equivalent to the _mapping method.
- Loading branch information