Skip to content

Conversation

@oxtoacart
Copy link
Contributor

The new ConnectFlags supports passing in sqliteh.OpenFlags to configure the connection.

Connect still uses sqliteh.OpenFlagsDefault.

Updates tailscale/corp#36592

@oxtoacart oxtoacart requested review from knyar and zofrex and removed request for zofrex February 3, 2026 16:13
This introduces the use of the options pattern with the new `ConnectorWithOpts`
function. The opt `WithOpenFlags` allows specifying custom flags to use when
opening connections. When left unspecified, we use the same
`sqliteh.OpenFlagsDefault` as before.

Updates tailscale/corp#36592

Signed-off-by: Percy Wegmann <percy@tailscale.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant