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

orm: redesign orm (re-write it in V) (#10353)

This commit is contained in:
Louis Schmieder
2021-07-23 11:33:55 +02:00
committed by GitHub
parent ad41cd5c6f
commit 26db3b0995
23 changed files with 2350 additions and 1693 deletions

View File

@@ -1,4 +1,11 @@
module mysql
#pkgconfig mysqlclient
#include <mysql.h> # Please install the mysqlclient development headers
// Need to check if mysqlclient is not there and use mariadb as alternative because newer system doesn't support mysql 8.0 as default
$if $pkgconfig('mysqlclient') {
#pkgconfig mysqlclient
} $else {
#pkgconfig mariadb
}
#include <mysql/mysql.h> # Please install the mysqlclient development headers