mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-11-08 01:01:00 +00:00
21 lines
428 B
C++
21 lines
428 B
C++
|
|
/*
|
||
|
|
* Copyright (c) 2021, Jan de Visser <jan@de-visser.net>
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
#include <LibSQL/AST/AST.h>
|
||
|
|
#include <LibSQL/Database.h>
|
||
|
|
#include <LibSQL/Meta.h>
|
||
|
|
#include <LibSQL/Row.h>
|
||
|
|
|
||
|
|
namespace SQL::AST {
|
||
|
|
|
||
|
|
RefPtr<SQLResult> Statement::execute(AK::NonnullRefPtr<Database> database) const
|
||
|
|
{
|
||
|
|
ExecutionContext context { move(database), nullptr, this, nullptr };
|
||
|
|
return execute(context);
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|