Documentation
¶
Index ¶
- type BatchUpsertRelationshipsParams
- type CountGrantedObjectsParams
- type DBTX
- type Querier
- type Queries
- func (q *Queries) BatchUpsertRelationships(ctx context.Context, arg BatchUpsertRelationshipsParams) ([]Relationship, error)
- func (q *Queries) CountGrantedObjects(ctx context.Context, arg CountGrantedObjectsParams) (int64, error)
- func (q *Queries) ReadRelationships(ctx context.Context, arg ReadRelationshipsParams) ([]Relationship, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type ReadRelationshipsParams
- type Relationship
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CountGrantedObjectsParams ¶ added in v1.18.0
type Querier ¶
type Querier interface {
BatchUpsertRelationships(ctx context.Context, arg BatchUpsertRelationshipsParams) ([]Relationship, error)
CountGrantedObjects(ctx context.Context, arg CountGrantedObjectsParams) (int64, error)
ReadRelationships(ctx context.Context, arg ReadRelationshipsParams) ([]Relationship, error)
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) BatchUpsertRelationships ¶
func (q *Queries) BatchUpsertRelationships(ctx context.Context, arg BatchUpsertRelationshipsParams) ([]Relationship, error)
func (*Queries) CountGrantedObjects ¶ added in v1.18.0
func (*Queries) ReadRelationships ¶ added in v1.16.0
func (q *Queries) ReadRelationships(ctx context.Context, arg ReadRelationshipsParams) ([]Relationship, error)
type ReadRelationshipsParams ¶ added in v1.16.0
Click to show internal directories.
Click to hide internal directories.