Re: [sqlalchemy] Dictionaries with mapped objects as keys and integers as values

2017-11-29 Thread Mike Bayer
On Wed, Nov 29, 2017 at 11:45 AM, Sven wrote: > Hello everybody, > > Is it possible to map dictionaries whose keys are objects and the values > simple integers? > > I have the following case : > > In the program, there is one instance of "Options" which contains a >

[sqlalchemy] Dictionaries with mapped objects as keys and integers as values

2017-11-29 Thread Sven
Hello everybody, Is it possible to map dictionaries whose keys are objects and the values simple integers? I have the following case : *In the program, there is one instance of "Options" which contains a dictionary. This dictionary has players as keys and integers as values. These integers