def test_unicode(self, engine, connection):
unicode_str = '??'
one_row = Table('one_row', MetaData(bind=engine))
returned_str = sqlalchemy.select(
[expression.bindparam('????', unicode_str)],
from_obj=one_row,
).scalar()
self.assertEqual(returned_str, unicode_str)
test_sqlalchemy_athena.py 文件源码
python
阅读 19
收藏 0
点赞 0
评论 0
评论列表
文章目录