(self, query: str, **kwargs)
| 169 | yield self.get_model_instance(**row) |
| 170 | |
| 171 | async def fetchone(self, query: str, **kwargs) -> BaseModel: |
| 172 | query = query.format(table_name=self.table_name, **kwargs) |
| 173 | async with get_supabase_pool().connection() as conn: |
| 174 | async with conn.cursor(row_factory=psycopg.rows.dict_row) as cur: |
| 175 | await cur.execute(query) |
| 176 | return self.get_model_instance(**await cur.fetchone()) |
| 177 | |
| 178 | |
| 179 | supabase = SupabaseExporter |
no test coverage detected