MySQL 8 and MariaDB 10.2 support window functions so this
should be turned on.
Change-Id: Ic1fdd328f1f0def7dfc8451385c16ea81902074c
This is a special operator against a so-called
"window" function, as well as any aggregate function,
which produces results relative to the result set
- itself. It's supported only by certain database
- backends.
+ itself. Most modern SQL backends now support window functions.
"""
@property
def window_functions(self):
return only_if(
- ["postgresql>=8.4", "mssql", "oracle", "sqlite>=3.25.0"],
+ [
+ "postgresql>=8.4",
+ "mssql",
+ "oracle",
+ "sqlite>=3.25.0",
+ "mysql>=8",
+ "mariadb>=10.2",
+ ],
"Backend does not support window functions",
)