lectures: 07-sql rc2
This commit is contained in:
parent
77a024a6bc
commit
2e5b38b90a
1 changed files with 5 additions and 5 deletions
|
@ -17,13 +17,13 @@ database/sql
|
||||||
.code sql/driver.go /^type Driver/,/^}/
|
.code sql/driver.go /^type Driver/,/^}/
|
||||||
.code sql/driver.go /^type QueryerContext/,/^}/
|
.code sql/driver.go /^type QueryerContext/,/^}/
|
||||||
|
|
||||||
* Подключение
|
* Подключение - database/sql
|
||||||
|
|
||||||
- через database/sql
|
.code open/sql.go
|
||||||
.code open/sql.go /^func SQLOpen/,/^}/
|
|
||||||
|
|
||||||
- драйвером на прямую
|
* Подключение - на прямую
|
||||||
.code open/pgx.go /^func PGXOpen/,/^}/
|
|
||||||
|
.code open/pgx.go
|
||||||
|
|
||||||
* Основные сущности
|
* Основные сущности
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue