This module offers some components for JDBC-based
database connectivity. The main component is the class
[[Sql]], an instance of which may be obtained for any
given [[javax.sql::DataSource]].
value sql = Sql(newConnectionFromDataSource(dataSource));
You can easily get a query result as a `Sequence` where
each row is a [[Map]]:
value rows = sql.Select("select * from mytable").execute();
for (row in rows) {
assert (is String name = rows["name"]);
assert (is ...
Version1.2.0compared with
Version Details
| 1.1.0 | 1.2.0 | |
|---|---|---|
| Release date | Feb 13, 2021 | Feb 13, 2021 |
| Licenses | Apache 2.0 | Apache 2.0 |
| Vulnerabilities | None | None |