1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 17:05:06 +00:00
serenity/Userland/Libraries/LibSQL/AST
Timothy Flynn 56843baff9 LibSQL+SQLServer: Return a NonnullRefPtr from Database::get_schema
Database::get_schema currently either returns a RefPtr to an existing
schema, a nullptr if the schema doesn't exist, or an Error if some
internal error occured. Change this to return a NonnullRefPtr to an
exisiting schema, or a SQL::Result with any error, including if the
schema was not found. Callers can then handle that specific error code
if they want.

Returning a NonnullRefPtr will enable some further cleanup. This had
some fallout of needing to change some other methods' return types from
AK::ErrorOr to SQL::Result so that TRY may continue to be used.
2022-11-30 11:43:13 +01:00
..
AST.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
CreateSchema.cpp LibSQL+SQLServer: Return a NonnullRefPtr from Database::get_schema 2022-11-30 11:43:13 +01:00
CreateTable.cpp LibSQL+SQLServer: Return a NonnullRefPtr from Database::get_schema 2022-11-30 11:43:13 +01:00
Describe.cpp LibSQL+SQLServer: Introduce and use ResultOr<ValueType> 2022-02-10 23:11:13 +01:00
Expression.cpp LibSQL: Rewrite the SQL::Value type to be contained within one class 2022-10-14 17:47:44 +03:30
Insert.cpp LibSQL: Copy SQL::Value instances less frequently (which may be vectors) 2022-10-14 17:47:44 +03:30
Lexer.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Lexer.h Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
Parser.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Parser.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Select.cpp LibSQL: Rewrite the SQL::Value type to be contained within one class 2022-10-14 17:47:44 +03:30
Statement.cpp LibSQL: Immediately commit database modifications (for now) 2022-11-30 11:43:13 +01:00
SyntaxHighlighter.cpp Libraries: Use default constructors/destructors in LibSQL 2022-03-13 22:34:38 +01:00
SyntaxHighlighter.h LibSyntax: Teach each highlighter about it's comment syntax 2022-11-27 18:28:43 -07:00
Token.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Token.h LibSQL: Implement a DESCRIBE TABLE statement 2022-02-05 00:35:03 +01:00