What's Changed
- Use non sudo update_libchdb.sh by @auxten in #16
- Use libchdb API v2 to throw exception while SQL error by @auxten in #14
const { query } = require("chdb");
// If an error occurs, it will be thrown
try {
query("SELECT * FROM non_existent_table;", "CSV");
}
catch (e) {
console.log("Error:", e.message);
}
Full Changelog: v1.1.4...v1.2.1