Skip to content

Commit

Permalink
Merge pull request #75 from Anirudh-Muthukumar/Update-documentation-f…
Browse files Browse the repository at this point in the history
…or-SqlQuery-execute-

Update documentation for SqlQuery.execute() and StatementPreparer.exe…
  • Loading branch information
tmccombs authored Feb 28, 2022
2 parents 6f27bf0 + 1e3afbc commit da42bf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion relate/src/main/scala/com/lucidchart/relate/SqlQuery.scala
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ trait Sql extends CollectionsSql {
/**
* Execute a statement
* @param connection the db connection to use when executing the query
* @return whether the query succeeded in its execution
* @return true if the first result is a ResultSet object; false if the first result is an update count or there is no result
*/
def execute()(implicit connection: Connection): Boolean = normalStatement.execute()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private[relate] sealed trait StatementPreparer {

/**
* Execute the query and close
* @return if the query succeeded or not
* @return true if the first result is a ResultSet object; false if the first result is an update count or there is no result
*/
def execute(): Boolean = {
try {
Expand Down

0 comments on commit da42bf2

Please sign in to comment.