(
self, metadata, connection, implicit_returning_variations
)
| 3136 | |
| 3137 | @testing.fixture |
| 3138 | def define_tables( |
| 3139 | self, metadata, connection, implicit_returning_variations |
| 3140 | ): |
| 3141 | implicit_returning = bool(implicit_returning_variations) |
| 3142 | |
| 3143 | t = Table( |
| 3144 | "test", |
| 3145 | metadata, |
| 3146 | Column( |
| 3147 | "id", Integer, primary_key=True, test_needs_autoincrement=True |
| 3148 | ), |
| 3149 | Column( |
| 3150 | "foo", |
| 3151 | Integer, |
| 3152 | server_default="3", |
| 3153 | ), |
| 3154 | Column("bar", Integer, server_onupdate=FetchedValue()), |
| 3155 | implicit_returning=implicit_returning, |
| 3156 | ) |
| 3157 | metadata.create_all(connection) |
| 3158 | return t |
| 3159 | |
| 3160 | @testing.fixture |
| 3161 | def setup_mappers( |
nothing calls this directly
no test coverage detected