You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
conn.select("SELECT * FROM USER WHERE ID = :id AND FLAG = :flag")
.setInt("id", 4)
.setBoolean("flag", true)
.toFlowable { it.getInt("ID") to it.getString("USERNAME") }
.subscribe(::println)
Example 2:
conn.select("SELECT * FROM USER WHERE ID = :id AND FLAG = :flag")
.setParam("id", 4)
.setParam("flag", true)
.toFlowable { it.getInt("ID") to it.getString("USERNAME") }
.subscribe(::println)
Example 3:
conn.select("SELECT * FROM USER WHERE ID = :id AND FLAG = :flag")
.setParams("id" to 4, "flag" to true)
.toFlowable { it.getInt("ID") to it.getString("USERNAME") }
.subscribe(::println)
The text was updated successfully, but these errors were encountered:
Example 1:
Example 2:
Example 3:
The text was updated successfully, but these errors were encountered: