mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
fix sqlite test
This commit is contained in:
parent
1ac1626357
commit
d54bbc8737
2 changed files with 22 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
import sqlite
|
||||
|
||||
fn main() {
|
||||
/*
|
||||
db := sqlite.connect('users.db')
|
||||
db.exec("create table users (id integer primary key, name text default '');")
|
||||
|
||||
|
@ -18,4 +19,5 @@ fn main() {
|
|||
for row in users {
|
||||
println(row.vals)
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue