Method
get_first
(self, table: str, columns: str, key_name: str, key_value)
Source from the content-addressed store, hash-verified
| 31 | return json |
| 32 | |
| 33 | async def get_first(self, table: str, columns: str, key_name: str, key_value): |
| 34 | rows = await self.get(table, columns, key_name, key_value) |
| 35 | return rows[0] if rows else None |
| 36 | |
| 37 | async def delete(self, table: str, key_name: str, key_value): |
| 38 | logging.info(f"Deleting row with {key_name}: {key_value} from table {table}") |
Callers
nothing calls this directly
Tested by
no test coverage detected