Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresImporter ¶
type PostgresImporter struct {
// contains filtered or unexported fields
}
PostgresImporter will import data from postgres into SpiceDB. It knows how to convert data into relationships with its TableMapping.
func NewPostgresImporter ¶
func NewPostgresImporter(conn *pgxpool.Pool, writer write.RelationshipWriter, mapping []config.TableMapping) *PostgresImporter
NewPostgresImporter returns a new instance of a postgres importer
Click to show internal directories.
Click to hide internal directories.