Bumped version
This commit is contained in:
@@ -4,6 +4,12 @@ Changelog
|
||||
Here you can see the full list of changes between each SQLAlchemy-Utils release.
|
||||
|
||||
|
||||
0.16.1 (2013-08-01)
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
- Added tsvector_concat and tsvector_match sql function expressions
|
||||
|
||||
|
||||
0.16.0 (2013-07-25)
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
2
setup.py
2
setup.py
@@ -55,7 +55,7 @@ for name, requirements in extras_require.items():
|
||||
|
||||
setup(
|
||||
name='SQLAlchemy-Utils',
|
||||
version='0.16.0',
|
||||
version='0.16.1',
|
||||
url='https://github.com/kvesteri/sqlalchemy-utils',
|
||||
license='BSD',
|
||||
author='Konsta Vesterinen',
|
||||
|
@@ -29,7 +29,7 @@ from .types import (
|
||||
)
|
||||
|
||||
|
||||
__version__ = '0.16.0'
|
||||
__version__ = '0.16.1'
|
||||
|
||||
|
||||
__all__ = (
|
||||
|
@@ -14,7 +14,7 @@ def compile_tsvector_match(element, compiler, **kw):
|
||||
args = list(element.clauses)
|
||||
if len(args) < 2:
|
||||
raise Exception(
|
||||
"Function 'match_tsvector' expects atleast two arguments."
|
||||
"Function 'tsvector_match' expects atleast two arguments."
|
||||
)
|
||||
if len(args) == 2:
|
||||
return '(%s) @@ to_tsquery(%s)' % (
|
||||
|
Reference in New Issue
Block a user