(self)
| 92 | ) |
| 93 | |
| 94 | def test_ilike(self): |
| 95 | query = QueryString("strip(name)").ilike("Python%") |
| 96 | self.assertIsInstance(query, QueryString) |
| 97 | self.assertEqual( |
| 98 | query.compile_string(), |
| 99 | ("strip(name) ILIKE $1", ["Python%"]), |
| 100 | ) |
| 101 | |
| 102 | def test_greater_than(self): |
| 103 | query = QueryString("SELECT price") > 10 |
nothing calls this directly
no test coverage detected