We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e9df82d + 8f9c617 commit 7bcc76dCopy full SHA for 7bcc76d
.changeset/hot-bugs-clap.md
@@ -0,0 +1,5 @@
1
+---
2
+"@langchain/community": patch
3
4
+
5
+postgres indexes getTime returning NaN due to missing alias
libs/langchain-community/src/indexes/postgres.ts
@@ -69,7 +69,7 @@ export class PostgresRecordManager implements RecordManagerInterface {
69
70
async getTime(): Promise<number> {
71
const res = await this.pool.query(
72
- "SELECT EXTRACT(EPOCH FROM CURRENT_TIMESTAMP)"
+ "SELECT EXTRACT(EPOCH FROM CURRENT_TIMESTAMP) AS extract"
73
);
74
return Number.parseFloat(res.rows[0].extract);
75
}
0 commit comments