2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2017 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
2017-09-18 15:59:08 +02:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2017-09-21 11:43:59 +02:00
|
|
|
#include <sqlitebasestatement.h>
|
2021-12-07 17:28:38 +01:00
|
|
|
template<int ResultCount, int BindParameterCount = 0>
|
|
|
|
|
class SqliteTestStatement
|
|
|
|
|
: public Sqlite::StatementImplementation<Sqlite::BaseStatement, ResultCount, BindParameterCount>
|
2017-09-18 15:59:08 +02:00
|
|
|
{
|
2021-12-07 17:28:38 +01:00
|
|
|
using Base = Sqlite::StatementImplementation<Sqlite::BaseStatement, ResultCount, BindParameterCount>;
|
2021-03-24 18:10:55 +01:00
|
|
|
|
2017-09-18 15:59:08 +02:00
|
|
|
public:
|
|
|
|
|
explicit SqliteTestStatement(Utils::SmallStringView sqlStatement, Sqlite::Database &database)
|
2021-03-24 18:10:55 +01:00
|
|
|
: Base(sqlStatement, database)
|
2017-09-18 15:59:08 +02:00
|
|
|
{}
|
|
|
|
|
};
|
|
|
|
|
|