mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:37:46 +00:00
LibSQL: Add a new Result class to replace SQLResult
The existing SQLResult class predates our TRY semantics. As a result, in the AST execution methods, there is a lot of is_error checking on values that could instead be wrapped with TRY. This new class will allow such semantics, and is also stack allocated (no need to be a RefPtr). It is heavily based on LibJS's completion class.
This commit is contained in:
parent
f2fae3a21c
commit
d9055de7ea
3 changed files with 136 additions and 0 deletions
|
@ -22,6 +22,7 @@ class IndexDef;
|
|||
class Key;
|
||||
class KeyPartDef;
|
||||
class Relation;
|
||||
class Result;
|
||||
class Row;
|
||||
class SchemaDef;
|
||||
class SQLResult;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue