Skip to content

Commit

Permalink
Update 02-access.en.md
Browse files Browse the repository at this point in the history
error fix
  • Loading branch information
bartdong authored Jan 29, 2024
1 parent 77dcbac commit 326aa09
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/guide/02-access.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ Connected to database successful!
copy successful!
```

### 5.6、Export data to List
### 5.6、Export data to Array
```
<?php
Expand Down Expand Up @@ -964,7 +964,7 @@ func db_connect() (conn *pgx.Conn, err error) {
var config pgx.ConnConfig
config.Host = "127.0.0.1" //localhost or ip
config.User = "opentenbase" //username
config.Password = "pgsql" //passoword
config.Password = "pgsql" //password
config.Database = "postgres" //database name
config.Port = 15432 //port
conn, err = pgx.Connect(config)
Expand Down Expand Up @@ -1028,7 +1028,7 @@ func main() {
}
/*
Function:Write log process
Function: Write log process
Parameter:
log_level -- level of log,only `Error` or `Log`
Expand Down Expand Up @@ -1059,7 +1059,7 @@ func db_connect() (conn *pgx.Conn, err error) {
var config pgx.ConnConfig
config.Host = "127.0.0.1" //localhost or ip
config.User = "opentenbase" //username
config.Password = "pgsql" //passoword
config.Password = "pgsql" //password
config.Database = "postgres" //database name
config.Port = 15432 //port
conn, err = pgx.Connect(config)
Expand Down Expand Up @@ -1187,7 +1187,7 @@ func db_connect() (conn *pgx.Conn, err error) {
var config pgx.ConnConfig
config.Host = "127.0.0.1" //localhost or ip
config.User = "opentenbase" //username
config.Password = "pgsql" //passoword
config.Password = "pgsql" //password
config.Database = "postgres" //database name
config.Port = 15432 //port
conn, err = pgx.Connect(config)
Expand Down Expand Up @@ -1335,7 +1335,7 @@ func db_connect() (conn *pgx.Conn, err error) {
var config pgx.ConnConfig
config.Host = "127.0.0.1" //localhost or ip
config.User = "opentenbase" //username
config.Password = "pgsql" //passoword
config.Password = "pgsql" //password
config.Database = "postgres" //database name
config.Port = 15432 //port
conn, err = pgx.Connect(config)
Expand Down Expand Up @@ -1448,7 +1448,7 @@ func db_connect() (conn *pgx.Conn, err error) {
var config pgx.ConnConfig
config.Host = "127.0.0.1" //localhost or ip
config.User = "opentenbase" //username
config.Password = "pgsql" //passoword
config.Password = "pgsql" //password
config.Database = "postgres" //database name
config.Port = 15432 //port
conn, err = pgx.Connect(config)
Expand Down

0 comments on commit 326aa09

Please sign in to comment.