1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-29 01:12:12 +00:00
serenity/Userland/Libraries/LibSQL
Jan de Visser 1037d6b0eb LibSQL: Invent statement execution machinery and CREATE SCHEMA statement
This patch introduces the ability execute parsed SQL statements. The
abstract AST Statement node now has a virtual 'execute' method. This
method takes a Database object as parameter and returns a SQLResult
object.

Also introduced here is the CREATE SCHEMA statement. Tables live in a
schema, and if no schema is present in a table reference the 'default'
schema is implied. This schema is created if it doesn't yet exist when
a Database object is created.

Finally, as a proof of concept, the CREATE SCHEMA and CREATE TABLE
statements received an 'execute' implementation. The CREATE TABLE
method is not able to create tables created from SQL queries yet.
2021-07-08 17:55:59 +04:30
..
AST LibSQL: Invent statement execution machinery and CREATE SCHEMA statement 2021-07-08 17:55:59 +04:30
BTree.cpp LibSQL: BTree index, Heap, and Meta objects for SQL Storage layer 2021-06-19 22:06:45 +02:00
BTree.h LibSQL: BTree index, Heap, and Meta objects for SQL Storage layer 2021-06-19 22:06:45 +02:00
BTreeIterator.cpp LibSQL: BTree index, Heap, and Meta objects for SQL Storage layer 2021-06-19 22:06:45 +02:00
CMakeLists.txt LibSQL: Invent statement execution machinery and CREATE SCHEMA statement 2021-07-08 17:55:59 +04:30
Database.cpp LibSQL: Invent statement execution machinery and CREATE SCHEMA statement 2021-07-08 17:55:59 +04:30
Database.h LibSQL: Database layer 2021-06-19 22:06:45 +02:00
Forward.h LibSQL: Move Order and Nulls enums from SQL::AST to SQL namespace 2021-07-08 17:55:59 +04:30
HashIndex.cpp LibSQL: Hash index implementation for the SQL storage layer 2021-06-19 22:06:45 +02:00
HashIndex.h LibSQL: Hash index implementation for the SQL storage layer 2021-06-19 22:06:45 +02:00
Heap.cpp LibSQL: BTree index, Heap, and Meta objects for SQL Storage layer 2021-06-19 22:06:45 +02:00
Heap.h LibSQL: BTree index, Heap, and Meta objects for SQL Storage layer 2021-06-19 22:06:45 +02:00
Index.cpp LibSQL: BTree index, Heap, and Meta objects for SQL Storage layer 2021-06-19 22:06:45 +02:00
Index.h LibSQL: BTree index, Heap, and Meta objects for SQL Storage layer 2021-06-19 22:06:45 +02:00
Key.cpp LibSQL: BTree index, Heap, and Meta objects for SQL Storage layer 2021-06-19 22:06:45 +02:00
Key.h LibSQL: BTree index, Heap, and Meta objects for SQL Storage layer 2021-06-19 22:06:45 +02:00
Meta.cpp LibSQL: Move Order and Nulls enums from SQL::AST to SQL namespace 2021-07-08 17:55:59 +04:30
Meta.h LibSQL: Move Order and Nulls enums from SQL::AST to SQL namespace 2021-07-08 17:55:59 +04:30
Row.cpp LibSQL: Database layer 2021-06-19 22:06:45 +02:00
Row.h LibSQL: Database layer 2021-06-19 22:06:45 +02:00
Serialize.h LibSQL: Basic dynamic value classes for SQL Storage layer 2021-06-19 22:06:45 +02:00
SQLResult.h LibSQL: Move Order and Nulls enums from SQL::AST to SQL namespace 2021-07-08 17:55:59 +04:30
TreeNode.cpp LibSQL: BTree index, Heap, and Meta objects for SQL Storage layer 2021-06-19 22:06:45 +02:00
Tuple.cpp LibSQL: Move Order and Nulls enums from SQL::AST to SQL namespace 2021-07-08 17:55:59 +04:30
Tuple.h LibSQL: Invent statement execution machinery and CREATE SCHEMA statement 2021-07-08 17:55:59 +04:30
TupleDescriptor.h LibSQL: Move Order and Nulls enums from SQL::AST to SQL namespace 2021-07-08 17:55:59 +04:30
Type.h LibSQL: Move Order and Nulls enums from SQL::AST to SQL namespace 2021-07-08 17:55:59 +04:30
Value.cpp LibSQL: Basic dynamic value classes for SQL Storage layer 2021-06-19 22:06:45 +02:00
Value.h LibSQL: Basic dynamic value classes for SQL Storage layer 2021-06-19 22:06:45 +02:00