MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_collate

Method test_collate

test/orm/test_query.py:2001–2006  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1999 )
2000
2001 def test_collate(self):
2002 User = self.classes.User
2003
2004 self._test(collate(User.id, "utf8_bin"), "users.id COLLATE utf8_bin")
2005
2006 self._test(User.id.collate("utf8_bin"), "users.id COLLATE utf8_bin")
2007
2008 def test_selfref_between(self):
2009 User = self.classes.User

Callers

nothing calls this directly

Calls 3

_testMethod · 0.95
collateFunction · 0.90
collateMethod · 0.45

Tested by

no test coverage detected