mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:52:43 +00:00 
			
		
		
		
	 df2ddcafd4
			
		
	
	
		df2ddcafd4
		
	
	
	
	
		
			
			The INSERT and SELECT statements set up this object for any expression evaluation to indicate errors. This is no longer needed.
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			421 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			421 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 {
 | |
| 
 | |
| ResultOr<ResultSet> Statement::execute(AK::NonnullRefPtr<Database> database) const
 | |
| {
 | |
|     ExecutionContext context { move(database), this, nullptr };
 | |
|     return execute(context);
 | |
| }
 | |
| 
 | |
| }
 |