MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / ctes

Method ctes

test/requirements.py:783–805  ·  view source on GitHub ↗

Target database supports CTEs

(self)

Source from the content-addressed store, hash-verified

781
782 @property
783 def ctes(self):
784 """Target database supports CTEs"""
785 return only_on(
786 [
787 lambda config: against(config, "mysql")
788 and (
789 (
790 config.db.dialect._is_mariadb
791 and config.db.dialect._mariadb_normalized_version_info
792 >= (10, 2)
793 )
794 or (
795 not config.db.dialect._is_mariadb
796 and config.db.dialect.server_version_info >= (8,)
797 )
798 ),
799 "mariadb>10.2",
800 "postgresql",
801 "mssql",
802 "oracle",
803 "sqlite>=3.8.3",
804 ]
805 )
806
807 @property
808 def ctes_with_values(self):

Callers

nothing calls this directly

Calls 2

only_onFunction · 0.90
againstFunction · 0.90

Tested by

no test coverage detected