MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / Array

Class Array

test/ext/test_indexable.py:180–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 Base = cls.DeclarativeBasic
179
180 class Array(ComparableEntity, Base):
181 __tablename__ = "array"
182
183 id = Column(
184 sa.Integer, primary_key=True, test_needs_autoincrement=True
185 )
186 array = Column(ARRAY(Integer), default=[])
187 array0 = Column(ARRAY(Integer, zero_indexes=True), default=[])
188 first = index_property("array", 0)
189 first0 = index_property("array0", 0, onebased=False)
190
191 def test_query(self):
192 Array = self.classes.Array

Callers 3

test_queryMethod · 0.85
test_mutableMethod · 0.85
test_modifiedMethod · 0.85

Calls 3

ColumnClass · 0.90
ARRAYClass · 0.90
index_propertyClass · 0.90

Tested by 3

test_queryMethod · 0.68
test_mutableMethod · 0.68
test_modifiedMethod · 0.68