15 lines
272 B
Python
15 lines
272 B
Python
# https://docs.sqlalchemy.org/en/20/core/functions.html
|
|
# include sum for a consistent API
|
|
from sqlalchemy.sql.functions import ReturnTypeFromArgs, sum
|
|
|
|
|
|
class avg(ReturnTypeFromArgs):
|
|
inherit_cache = True
|
|
package = 'pgvector'
|
|
|
|
|
|
__all__ = [
|
|
'avg',
|
|
'sum'
|
|
]
|