1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:57:35 +00:00

SQLServer+SQLStudio+sql: Rename a couple of SQL IPC commands for clarity

Rename sql_statement to prepare_statement and statement_execute to
execute_statement. The former aligns more with other database libraries
(e.g. Java's JDBC prepareStatement). The latter reads less awkwardly.
This commit is contained in:
Timothy Flynn 2022-10-27 13:04:42 -04:00 committed by Linus Groh
parent 17988bab75
commit 0986b383cd
7 changed files with 17 additions and 17 deletions

View file

@ -23,7 +23,7 @@ public:
int client_id() const { return m_client_id; }
RefPtr<SQL::Database> database() { return m_database; }
void disconnect();
int sql_statement(String const& sql);
int prepare_statement(String const& sql);
private:
DatabaseConnection(String database_name, int client_id);