mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:07: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:
parent
17988bab75
commit
0986b383cd
7 changed files with 17 additions and 17 deletions
|
@ -478,8 +478,8 @@ String MainWidget::read_next_sql_statement_of_editor()
|
|||
m_editor_line_level = last_token_ended_statement ? 0 : (m_editor_line_level > 0 ? m_editor_line_level : 1);
|
||||
} while ((m_editor_line_level > 0) || piece.is_empty());
|
||||
|
||||
auto statement_id = m_sql_client->sql_statement(m_connection_id, piece.to_string());
|
||||
m_sql_client->async_statement_execute(statement_id);
|
||||
auto statement_id = m_sql_client->prepare_statement(m_connection_id, piece.to_string());
|
||||
m_sql_client->async_execute_statement(statement_id);
|
||||
|
||||
return piece.to_string();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue