Skip to content

vow-query

vow-query composes SQL fragments without an ORM — pair with vow-postgres or vow-mysql. Install with vpm:

Terminal window
curl -fsSL https://install.vowlang.dev | sh
export PATH="$HOME/.local/bin:$PATH"
vpm add vow-query
vpm install
import vquery from vow_query
fn main(caps: Caps) -> int {
let sql = vquery.limit(vquery.select("widgets", "id"), 5);
print sql;
return 0;
}
Terminal window
cd vow-libs/vow-query && vow test tests/smoke.vow