MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / test_column_valued_one

Method test_column_valued_one

test/sql/test_functions.py:2011–2018  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2009 )
2010
2011 def test_column_valued_one(self):
2012 fn = func.unnest(["one", "two", "three", "four"]).column_valued()
2013
2014 stmt = select(fn)
2015
2016 self.assert_compile(
2017 stmt, "SELECT anon_1 FROM unnest(:unnest_1) AS anon_1"
2018 )
2019
2020 def test_column_valued_two(self):
2021 """

Callers

nothing calls this directly

Calls 3

selectFunction · 0.90
column_valuedMethod · 0.80
assert_compileMethod · 0.80

Tested by

no test coverage detected