Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ transaction
Method
transaction
dlib/sqlite/sqlite_tools.h:18–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
{
17
public:
18
transaction (
19
database& db_
20
) :
21
db(db_),
22
committed(false)
23
{
24
db.exec(
"begin transaction"
);
25
}
26
27
void commit ()
28
{
Callers
nothing calls this directly
Calls
1
exec
Method · 0.80
Tested by
no test coverage detected