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

vlib: move the mysql/sqlite/pg/mssql modules under vlib/db (#16820)

This commit is contained in:
yuyi
2023-01-13 23:02:32 +08:00
committed by GitHub
parent 2d8f160ef1
commit 64558df764
76 changed files with 3668 additions and 320 deletions

View File

@ -1,4 +1,4 @@
import mysql
import db.mysql
fn main() {
mut conn := mysql.Connection{

View File

@ -1,6 +1,6 @@
import sqlite
import mysql
import pg
import db.sqlite
import db.mysql
import db.pg
[table: 'modules']
struct Module {

View File

@ -1,6 +1,6 @@
module main
import pg
import db.pg
const dash = '----------------------------------------------------------------'

View File

@ -1,4 +1,4 @@
import sqlite
import db.sqlite
fn main() {
db := sqlite.connect(':memory:')!