Open keredson opened 8 years ago
currently this is allowed:
u = User.get(User.id==1)
and this is allowed
u = User.select().where(User.id==1).get()
but this is not:
u = User.select().get(User.id==1)
impl the last option. (ie make it identical to the middle option just like the first option is)
see also https://github.com/coleifer/peewee/issues/993
currently this is allowed:
and this is allowed
but this is not:
impl the last option. (ie make it identical to the middle option just like the first option is)