@@ -6,7 +6,7 @@ PostgreSQL is an object-relational database management system available for many
|
|||||||
|
|
||||||
There are many database drivers available for PostgreSQL. Here are three examples of them:
|
There are many database drivers available for PostgreSQL. Here are three examples of them:
|
||||||
|
|
||||||
- [https://github.com/bmizerany/pq](https://github.com/lib/pq) supports `database/sql`, written in pure Go.
|
- [https://github.com/lib/pq](https://github.com/lib/pq) supports `database/sql`, written in pure Go.
|
||||||
- [https://github.com/jbarham/gopgsqldriver](https://github.com/jbarham/gopgsqldriver) supports `database/sql`, written in pure Go.
|
- [https://github.com/jbarham/gopgsqldriver](https://github.com/jbarham/gopgsqldriver) supports `database/sql`, written in pure Go.
|
||||||
- [https://github.com/lxn/go-pgsql](https://github.com/lxn/go-pgsql) supports `database/sql`, written in pure Go.
|
- [https://github.com/lxn/go-pgsql](https://github.com/lxn/go-pgsql) supports `database/sql`, written in pure Go.
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Because beedb supports `database/sql` interface standards, any driver that imple
|
|||||||
|
|
||||||
Mysql: [github/go-mysql-driver/mysql](https://github.com/go-sql-driver/mysql)
|
Mysql: [github/go-mysql-driver/mysql](https://github.com/go-sql-driver/mysql)
|
||||||
|
|
||||||
PostgreSQL: [github.com/bmizerany/pq](https://github.com/lib/pq)
|
PostgreSQL: [github.com/lib/pq](https://github.com/lib/pq)
|
||||||
|
|
||||||
SQLite: [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3)
|
SQLite: [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3)
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,9 @@ package main
|
|||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"fmt"
|
"fmt"
|
||||||
_ "github.com/bmizerany/pq"
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
_ "github.com/lib/pq"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ PostgreSQL is an object-relational database management system available for many
|
|||||||
|
|
||||||
There are many database drivers available for PostgreSQL. Here are three examples of them:
|
There are many database drivers available for PostgreSQL. Here are three examples of them:
|
||||||
|
|
||||||
- [https://github.com/bmizerany/pq](https://github.com/lib/pq) supports `database/sql`, written in pure Go.
|
- [https://github.com/lib/pq](https://github.com/lib/pq) supports `database/sql`, written in pure Go.
|
||||||
- [https://github.com/jbarham/gopgsqldriver](https://github.com/jbarham/gopgsqldriver) supports `database/sql`, written in pure Go.
|
- [https://github.com/jbarham/gopgsqldriver](https://github.com/jbarham/gopgsqldriver) supports `database/sql`, written in pure Go.
|
||||||
- [https://github.com/lxn/go-pgsql](https://github.com/lxn/go-pgsql) supports `database/sql`, written in pure Go.
|
- [https://github.com/lxn/go-pgsql](https://github.com/lxn/go-pgsql) supports `database/sql`, written in pure Go.
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Because beedb supports `database/sql` interface standards, any driver that imple
|
|||||||
|
|
||||||
Mysql: [github/go-mysql-driver/mysql](https://github.com/go-sql-driver/mysql)
|
Mysql: [github/go-mysql-driver/mysql](https://github.com/go-sql-driver/mysql)
|
||||||
|
|
||||||
PostgreSQL: [github.com/bmizerany/pq](https://github.com/lib/pq)
|
PostgreSQL: [github.com/lib/pq](https://github.com/lib/pq)
|
||||||
|
|
||||||
SQLite: [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3)
|
SQLite: [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3)
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,9 @@ package main
|
|||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"fmt"
|
"fmt"
|
||||||
_ "github.com/bmizerany/pq"
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
_ "github.com/lib/pq"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ PostgreSQL es una base de datos relacional y de objetos disponible en muchas pla
|
|||||||
|
|
||||||
Existen muchos manejadores de bases de datos para PostgreSQL. Aquí hay algunos ejemplos de ellos:
|
Existen muchos manejadores de bases de datos para PostgreSQL. Aquí hay algunos ejemplos de ellos:
|
||||||
|
|
||||||
- [https://github.com/bmizerany/pq](https://github.com/lib/pq) soporta `database/sql`, escrita en Go puro.
|
- [https://github.com/lib/pq](https://github.com/lib/pq) soporta `database/sql`, escrita en Go puro.
|
||||||
- [https://github.com/jbarham/gopgsqldriver](https://github.com/jbarham/gopgsqldriver) soporta `database/sql`, escrita en Go puro
|
- [https://github.com/jbarham/gopgsqldriver](https://github.com/jbarham/gopgsqldriver) soporta `database/sql`, escrita en Go puro
|
||||||
- [https://github.com/lxn/go-pgsql](https://github.com/lxn/go-pgsql) soporta `database/sql`, escrita en Go puro
|
- [https://github.com/lxn/go-pgsql](https://github.com/lxn/go-pgsql) soporta `database/sql`, escrita en Go puro
|
||||||
|
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ Como beedb soporta los estándares de la interfaz `database/sql` cualquier manej
|
|||||||
|
|
||||||
Mysql: [github.com/ziutek/mymysql/godrv](github.com/ziutek/mymysql/godrv)
|
Mysql: [github.com/ziutek/mymysql/godrv](github.com/ziutek/mymysql/godrv)
|
||||||
|
|
||||||
Mysql: [code.google.com/p/go-mysql-driver](code.google.com/p/go-mysql-driver)
|
Mysql: [github/go-mysql-driver/mysql](github/go-mysql-driver/mysql)
|
||||||
|
|
||||||
PostgreSQL: [github.com/bmizerany/pq](github.com/bmizerany/pq)
|
PostgreSQL: [github.com/lib/pq](github.com/lib/pq)
|
||||||
|
|
||||||
SQLite: [github.com/mattn/go-sqlite3](github.com/mattn/go-sqlite3)
|
SQLite: [github.com/mattn/go-sqlite3](github.com/mattn/go-sqlite3)
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ beedbはdatabase/sql標準インターフェースをサポートしたORMライ
|
|||||||
|
|
||||||
Mysql:github.com/ziutek/mymysql/godrv[*]
|
Mysql:github.com/ziutek/mymysql/godrv[*]
|
||||||
|
|
||||||
Mysql:code.google.com/p/go-mysql-driver[*]
|
Mysql:github/go-mysql-driver/mysql[*]
|
||||||
|
|
||||||
PostgreSQL:github.com/bmizerany/pq[*]
|
PostgreSQL:github.com/lib/pq[*]
|
||||||
|
|
||||||
SQLite:github.com/mattn/go-sqlite3[*]
|
SQLite:github.com/mattn/go-sqlite3[*]
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ PostgreSQL is an object-relational database management system available for many
|
|||||||
|
|
||||||
There are many database drivers available for PostgreSQL. Here are three examples of them:
|
There are many database drivers available for PostgreSQL. Here are three examples of them:
|
||||||
|
|
||||||
- [https://github.com/bmizerany/pq](https://github.com/lib/pq) supports `database/sql`, written in pure Go.
|
- [https://github.com/lib/pq](https://github.com/lib/pq) supports `database/sql`, written in pure Go.
|
||||||
- [https://github.com/jbarham/gopgsqldriver](https://github.com/jbarham/gopgsqldriver) supports `database/sql`, written in pure Go.
|
- [https://github.com/jbarham/gopgsqldriver](https://github.com/jbarham/gopgsqldriver) supports `database/sql`, written in pure Go.
|
||||||
- [https://github.com/lxn/go-pgsql](https://github.com/lxn/go-pgsql) supports `database/sql`, written in pure Go.
|
- [https://github.com/lxn/go-pgsql](https://github.com/lxn/go-pgsql) supports `database/sql`, written in pure Go.
|
||||||
|
|
||||||
|
|||||||
@@ -11,9 +11,9 @@ Because beedb supports `database/sql` interface standards, any driver that imple
|
|||||||
|
|
||||||
Mysql: [github.com/ziutek/mymysql/godrv](github.com/ziutek/mymysql/godrv)
|
Mysql: [github.com/ziutek/mymysql/godrv](github.com/ziutek/mymysql/godrv)
|
||||||
|
|
||||||
Mysql: [code.google.com/p/go-mysql-driver](code.google.com/p/go-mysql-driver)
|
Mysql: [github/go-mysql-driver/mysql](github/go-mysql-driver/mysql)
|
||||||
|
|
||||||
PostgreSQL: [github.com/bmizerany/pq](github.com/bmizerany/pq)
|
PostgreSQL: [github.com/lib/pq](github.com/lib/pq)
|
||||||
|
|
||||||
SQLite: [github.com/mattn/go-sqlite3](github.com/mattn/go-sqlite3)
|
SQLite: [github.com/mattn/go-sqlite3](github.com/mattn/go-sqlite3)
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,9 @@ package main
|
|||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"fmt"
|
"fmt"
|
||||||
_ "github.com/bmizerany/pq"
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
_ "github.com/lib/pq"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ PostgreSQL - свободная объектно-реляционная сист
|
|||||||
|
|
||||||
Есть множество драйверов баз данных для PostgreSQL, мы рассмотрим три из них:
|
Есть множество драйверов баз данных для PostgreSQL, мы рассмотрим три из них:
|
||||||
|
|
||||||
- [https://github.com/bmizerany/pq](https://github.com/bmizerany/pq) поддерживает `database/sql`, чистый код Go.
|
- [https://github.com/lib/pq](https://github.com/lib/pq) поддерживает `database/sql`, чистый код Go.
|
||||||
- [https://github.com/jbarham/gopgsqldriver](https://github.com/jbarham/gopgsqldriver) поддерживает `database/sql`, чистый код Go.
|
- [https://github.com/jbarham/gopgsqldriver](https://github.com/jbarham/gopgsqldriver) поддерживает `database/sql`, чистый код Go.
|
||||||
- [https://github.com/lxn/go-pgsql](https://github.com/lxn/go-pgsql) поддерживает `database/sql`, чистый код Go.
|
- [https://github.com/lxn/go-pgsql](https://github.com/lxn/go-pgsql) поддерживает `database/sql`, чистый код Go.
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ PostgreSQL - свободная объектно-реляционная сист
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
_ "github.com/bmizerany/pq"
|
_ "github.com/lib/pq"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ beego orm是支持database/sql标准接口的ORM库,所以理论上来说,
|
|||||||
|
|
||||||
Mysql: [github/go-mysql-driver/mysql](https://github.com/go-sql-driver/mysql)
|
Mysql: [github/go-mysql-driver/mysql](https://github.com/go-sql-driver/mysql)
|
||||||
|
|
||||||
PostgreSQL: [github.com/bmizerany/pq](https://github.com/lib/pq)
|
PostgreSQL: [github.com/lib/pq](https://github.com/lib/pq)
|
||||||
|
|
||||||
SQLite: [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3)
|
SQLite: [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user