mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
LibSQL: Add 'schema' and 'table' to TupleElementDescriptor
These are needed to distinguish columns from different tables with the same column name in one and the same (joined) Tuple. Not quite happy yet with this API; I think some sort of hierarchical structure would be better but we'll burn that bridge when we get there :^)
This commit is contained in:
committed by
Andreas Kling
parent
c2c47fb9bb
commit
7ea54db430
Notes:
sideshowbarker
2024-07-18 01:19:19 +09:00
Author: https://github.com/JanDeVisser Commit: https://github.com/SerenityOS/serenity/commit/7ea54db4306 Pull-request: https://github.com/SerenityOS/serenity/pull/10770 Reviewed-by: https://github.com/trflynn89 ✅
@@ -13,6 +13,8 @@
|
||||
namespace SQL {
|
||||
|
||||
struct TupleElementDescriptor {
|
||||
String schema { "" };
|
||||
String table { "" };
|
||||
String name { "" };
|
||||
SQLType type { SQLType::Text };
|
||||
Order order { Order::Ascending };
|
||||
|
||||
Reference in New Issue
Block a user