Where qset is called for a setting query (insert, update) and qget is called for a read query (select).
I also think it would be better for these methods to take the QueryField instance instead of the Query instance.
These are the things that would need to be done:
[x] QueryField needs to know in what context is being used for, Query.set should make the query field call qset while all the other methods should call qget (eg, eq_* and select_*)
[ ] Modify QueryField.iquery to call the appropriate method
[x] Change the query methods to accept the QueryField instance instead of Query, this shouldn't break anything since I don't think I've ever actually used the method for anything.
Where
qset
is called for a setting query (insert, update) andqget
is called for a read query (select).I also think it would be better for these methods to take the
QueryField
instance instead of theQuery
instance.These are the things that would need to be done:
Query.set
should make the query field callqset
while all the other methods should callqget
(eg,eq_*
andselect_*
)QueryField.iquery
to call the appropriate method