1 // Copyright (c) 2018 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by a apache 2.0 license that can be
3 // found in the LICENSE file.
5 #ifndef SQL_TRANSACTION_H_
6 #define SQL_TRANSACTION_H_
12 // BasicLockableClass.
15 // std::lock_guard<SQLTransaction> guard(t);
16 class SQLTransaction {
18 explicit SQLTransaction(SQLConnection* sql_conn) : sql_conn_(sql_conn) {}
23 SQLConnection* sql_conn_;
28 #endif // SQL_TRANSACTION_H_