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

@@ -52,19 +52,19 @@ pub enum JournalMode {
memory
}
struct C.sqlite3 {
pub struct C.sqlite3 {
}
struct C.sqlite3_stmt {
pub struct C.sqlite3_stmt {
}
[heap]
struct Stmt {
pub struct Stmt {
stmt &C.sqlite3_stmt = unsafe { nil }
db &DB = unsafe { nil }
}
struct SQLError {
pub struct SQLError {
MessageError
}