Attributes
- Companion
- class
- Source
- PgDocumentRegistry.scala
- Graph
-
- Supertypes
- Self type
-
PgDocumentRegistry.type
Members list
Value members
Concrete methods
A registry with a connection pool of its own, which PgDocumentRegistry.close closes. Creates the table if it does not exist.
A registry with a connection pool of its own, which PgDocumentRegistry.close closes. Creates the table if it does not exist.
Value parameters
- jdbcUrl
-
e.g.
jdbc:postgresql://localhost:5432/mydb - maxPoolSize
-
the pool's size; a registry makes one short call per document
- password
-
database password
- tableName
-
the registry table; a valid SQL identifier
- user
-
database user
Attributes
- Source
- PgDocumentRegistry.scala
A registry over dataSource, a pool the caller owns: a doobie HikariTransactor's kernel, a Play or Slick pool, pgjdbc's PGSimpleDataSource, or the pool a PgVectorStore was built over. PgDocumentRegistry.close leaves it open. Creates the table if it does not exist.
A registry over dataSource, a pool the caller owns: a doobie HikariTransactor's kernel, a Play or Slick pool, pgjdbc's PGSimpleDataSource, or the pool a PgVectorStore was built over. PgDocumentRegistry.close leaves it open. Creates the table if it does not exist.
Value parameters
- dataSource
-
a
javax.sql.DataSourcethe caller owns and closes - tableName
-
the registry table; a valid SQL identifier
Attributes
- Source
- PgDocumentRegistry.scala
Concrete fields
The table a registry uses when none is named.
