Skip to content

Commit

Permalink
feat: add get conn
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahanmmi committed Oct 7, 2024
1 parent fff8217 commit 12b2e77
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/steampipe/live-context.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ func NewSelfClient(ctx context.Context) (*SelfClient, error) {
return &SelfClient{conn: conn, createdAt: time.Now()}, nil
}

func (sc *SelfClient) GetConnection() *pgxpool.Pool {
return sc.conn
}

func (sc *SelfClient) GetConfigTableValueOrNil(ctx context.Context, key KaytuConfigKey) (*string, error) {
var value *string
// Create table if not exists
Expand Down

0 comments on commit 12b2e77

Please sign in to comment.