MCPcopy
hub / github.com/v2rayA/v2rayA / Close

Function Close

service/db/sqlite.go:151–156  ·  view source on GitHub ↗

Close closes the SQLite database connection

()

Source from the content-addressed store, hash-verified

149
150// Close closes the SQLite database connection
151func Close() error {
152 if sqlDB != nil {
153 return sqlDB.Close()
154 }
155 return nil
156}
157
158// ReadModifyWrite executes a function within a read-write transaction.
159// If the function returns an error, the transaction is rolled back.

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.45

Tested by

no test coverage detected