mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 22:22:45 +00:00 
			
		
		
		
	 1c50e9aadc
			
		
	
	
		1c50e9aadc
		
	
	
	
	
		
			
			Because SQL is the craptastic language that it is, sometimes expressions need to know details about the calling statement. For example the tables in the 'FROM' clause may be needed to determine which columns are referenced in 'WHERE' expressions. So the current statement is added to the ExecutionContext and a new 'execute' overload on Statement is created which takes the Database and the Statement and builds an ExecutionContaxt from those.
		
			
				
	
	
		
			34 lines
		
	
	
	
		
			653 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
	
		
			653 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(SOURCES
 | |
|     AST/CreateSchema.cpp
 | |
|     AST/CreateTable.cpp
 | |
|     AST/Expression.cpp
 | |
|     AST/Insert.cpp
 | |
|     AST/Lexer.cpp
 | |
|     AST/Parser.cpp
 | |
|     AST/Select.cpp
 | |
|     AST/Statement.cpp
 | |
|     AST/SyntaxHighlighter.cpp
 | |
|     AST/Token.cpp
 | |
|     BTree.cpp
 | |
|     BTreeIterator.cpp
 | |
|     Database.cpp
 | |
|     HashIndex.cpp
 | |
|     Heap.cpp
 | |
|     Index.cpp
 | |
|     Key.cpp
 | |
|     Meta.cpp
 | |
|     Row.cpp
 | |
|     Serializer.cpp
 | |
|     SQLClient.cpp
 | |
|     TreeNode.cpp
 | |
|     Tuple.cpp
 | |
|     Value.cpp
 | |
|     )
 | |
| 
 | |
| set(GENERATED_SOURCES
 | |
|     ../../Services/SQLServer/SQLClientEndpoint.h
 | |
|     ../../Services/SQLServer/SQLServerEndpoint.h
 | |
|     )
 | |
| 
 | |
| serenity_lib(LibSQL sql)
 | |
| target_link_libraries(LibSQL LibCore LibSyntax)
 |