1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

mysql module

This commit is contained in:
S-YOU
2019-08-18 23:24:43 +09:00
committed by Alexander Medvednikov
parent bbc5c14d99
commit 0066afe7fc
3 changed files with 104 additions and 0 deletions

11
examples/database/mysql.v Normal file
View File

@ -0,0 +1,11 @@
// import mysql
// pub fn main() {
// conn := mysql.connect('localhost', 'root', '', 'mysql')
// res := conn.query('show tables')
// for row in res.rows() {
// println(row.vals.join(', '))
// }
// res.free()
// conn.close()
// }