Start a chain operation :param ChainOperator, str operation: how to combine with a new one :rtype: Query
(self, operation=ChainOperator.AND)
| 893 | |
| 894 | @fluent |
| 895 | def chain(self, operation=ChainOperator.AND): |
| 896 | """ Start a chain operation |
| 897 | |
| 898 | :param ChainOperator, str operation: how to combine with a new one |
| 899 | :rtype: Query |
| 900 | """ |
| 901 | if isinstance(operation, str): |
| 902 | operation = ChainOperator(operation) |
| 903 | self._chain = operation |
| 904 | return self |
| 905 | |
| 906 | @fluent |
| 907 | def on_attribute(self, attribute): |
no test coverage detected