Skip to content

Commit 266cdf8

Browse files
committed
- Make lastInsertId, statusFlag and warnings accessible beyond construction
1 parent fe05129 commit 266cdf8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

mysql-async/src/main/scala/com/github/mauricio/async/db/mysql/MySQLQueryResult.scala

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ package com.github.mauricio.async.db.mysql
1919
import com.github.mauricio.async.db.{ResultSet, QueryResult}
2020

2121
class MySQLQueryResult(
22-
rowsAffected: Long,
23-
message: String,
24-
lastInsertId: Long,
25-
statusFlags: Int,
26-
warnings: Int,
27-
rows: Option[ResultSet] = None) extends QueryResult(rowsAffected, message, rows)
22+
rowsAffected: Long,
23+
message: String,
24+
val lastInsertId: Long,
25+
val statusFlags: Int,
26+
val warnings: Int,
27+
rows: Option[ResultSet] = None) extends QueryResult(rowsAffected, message, rows)

0 commit comments

Comments
 (0)