Re: [sqlalchemy] Using Python 'sorted' doesn't change data?

2016-11-15 Thread TomS.
Great! Thank you for your answer and hints! Cheers On 11/08/2016 10:30 PM, mike bayer wrote: it does not, and as an exercise I'd recommend trying to theorize how sorted() *could* make such an effect - and if it did, what assumptions would it be making? Hopefully this would reveal that the

Re: [sqlalchemy] Using Python 'sorted' doesn't change data?

2016-11-08 Thread mike bayer
it does not, and as an exercise I'd recommend trying to theorize how sorted() *could* make such an effect - and if it did, what assumptions would it be making? Hopefully this would reveal that the assumptions the library would need to make in order to even make such a thing happen would not

[sqlalchemy] Using Python 'sorted' doesn't change data?

2016-11-08 Thread TomS.
Hi, I know this is silly question, but I just need confirmation - Python 'sorted' doesn't affect in any way data stored in DB? Example: class PPL(db.Model): person_pk_id = db.Column(db.Integer, primary_key=True) person_type = db.Column(db.Integer) person_order_s =