From e465a88c253d2681ce61855f8ab091750dbc9a1f Mon Sep 17 00:00:00 2001 From: Anubhav Dhawan Date: Mon, 23 Sep 2024 23:37:27 +0530 Subject: [PATCH] debug --- src/langchain_google_alloydb_pg/async_vectorstore.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/langchain_google_alloydb_pg/async_vectorstore.py b/src/langchain_google_alloydb_pg/async_vectorstore.py index 522ba329..778881b0 100644 --- a/src/langchain_google_alloydb_pg/async_vectorstore.py +++ b/src/langchain_google_alloydb_pg/async_vectorstore.py @@ -525,11 +525,15 @@ async def __query_collection( async with self.engine.connect() as conn: await conn.execute(text(query_options_stmt)) result = await conn.execute(text(stmt)) + print("!!!!", stmt) + print(">>>>", result) result_map = result.mappings() results = result_map.fetchall() else: async with self.engine.connect() as conn: result = await conn.execute(text(stmt)) + print("!!!!@@@@", stmt) + print(">>>>", result) result_map = result.mappings() results = result_map.fetchall() return results