def test_catalog_and_columns_as_args(self):
type_ = TSVectorType('name', 'age', regconfig='pg_catalog.simple')
assert type_.columns == ('name', 'age')
assert type_.options['regconfig'] == 'pg_catalog.simple'
test_tsvector.py 文件源码
python
阅读 19
收藏 0
点赞 0
评论 0
评论列表
文章目录