what python feature is illustrated in this code? -


I have read the tutorial of Hurricane ORM, and I stumbled over the following part of the code:

  Store.find (person, person.name == U "Mary Margaret"). Set (name = U "Mary Maggi")  

I'm not sure that the second argument will be evaluated correctly / mis-evaluated I think that this Lambda Will be interpreted as. If this is true, how can I achieve the same effect in my actions?

Because I'm a Java programmer ... I'm feeling ... this operator is overloading? Person.name == An operator overload that compares instead ... This produces a SQL query

My 0.02 $


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -