We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a1f14c commit ae97d6eCopy full SHA for ae97d6e
packages/adapter-postgres/src/index.ts
@@ -343,7 +343,7 @@ export class PostgresDatabaseAdapter
343
}): Promise<Memory[]> {
344
if (!params.tableName) throw new Error("tableName is required");
345
if (!params.roomId) throw new Error("roomId is required");
346
- let sql = `SELECT * FROM memories WHERE type = $1 AND agentId = $2 AND "roomId" = $3`;
+ let sql = `SELECT * FROM memories WHERE type = $1 AND "agentId" = $2 AND "roomId" = $3`;
347
const values: any[] = [params.tableName, params.agentId, params.roomId];
348
let paramCount = 2;
349
0 commit comments