Ensure a table exists (create if not exists). This is idempotent - calling it multiple times is safe. Args: table: Table name
(self, table)
| 266 | return self._execute(STASH_OP_INFO, table) |
| 267 | |
| 268 | def ensure(self, table): |
| 269 | """ |
| 270 | Ensure a table exists (create if not exists). |
| 271 | |
| 272 | This is idempotent - calling it multiple times is safe. |
| 273 | |
| 274 | Args: |
| 275 | table: Table name |
| 276 | """ |
| 277 | self._execute(STASH_OP_ENSURE, table) |
| 278 | |
| 279 | def exists(self, table, key=None): |
| 280 | """ |