Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
abc7aee
New translations advanced_query.md (Spanish)
jinzhu Sep 26, 2025
24150e6
New translations constraints.md (Spanish)
jinzhu Sep 26, 2025
28cb3c8
Update source file community.md
jinzhu Oct 12, 2025
aa40350
Update source file connecting_to_the_database.md
jinzhu Oct 12, 2025
c6a2aa1
New translations community.md (French)
jinzhu Oct 12, 2025
db0c480
New translations connecting_to_the_database.md (French)
jinzhu Oct 12, 2025
e1a0581
New translations community.md (Spanish)
jinzhu Oct 12, 2025
9054bb2
New translations connecting_to_the_database.md (Spanish)
jinzhu Oct 12, 2025
0424146
New translations community.md (Arabic)
jinzhu Oct 12, 2025
81b5527
New translations connecting_to_the_database.md (Arabic)
jinzhu Oct 12, 2025
b3835ff
New translations community.md (German)
jinzhu Oct 12, 2025
ccdfb2e
New translations connecting_to_the_database.md (German)
jinzhu Oct 12, 2025
7d53dce
New translations community.md (Italian)
jinzhu Oct 12, 2025
716818f
New translations connecting_to_the_database.md (Italian)
jinzhu Oct 12, 2025
7bc9fc1
New translations community.md (Japanese)
jinzhu Oct 12, 2025
e987b95
New translations connecting_to_the_database.md (Japanese)
jinzhu Oct 12, 2025
cb395a8
New translations community.md (Korean)
jinzhu Oct 12, 2025
c8f3441
New translations connecting_to_the_database.md (Korean)
jinzhu Oct 12, 2025
3bece92
New translations community.md (Polish)
jinzhu Oct 12, 2025
f920e59
New translations connecting_to_the_database.md (Polish)
jinzhu Oct 12, 2025
ad60ccf
New translations community.md (Russian)
jinzhu Oct 12, 2025
829d49f
New translations connecting_to_the_database.md (Russian)
jinzhu Oct 12, 2025
53dbc63
New translations community.md (Turkish)
jinzhu Oct 12, 2025
a40ed23
New translations connecting_to_the_database.md (Turkish)
jinzhu Oct 12, 2025
ef51d9a
New translations community.md (Chinese Simplified)
jinzhu Oct 12, 2025
1908ef7
New translations connecting_to_the_database.md (Chinese Simplified)
jinzhu Oct 12, 2025
cae81cd
New translations community.md (Portuguese, Brazilian)
jinzhu Oct 12, 2025
e6b31fb
New translations connecting_to_the_database.md (Portuguese, Brazilian)
jinzhu Oct 12, 2025
3dbc5cb
New translations community.md (Indonesian)
jinzhu Oct 12, 2025
25f2c41
New translations connecting_to_the_database.md (Indonesian)
jinzhu Oct 12, 2025
45c7ebb
New translations community.md (Persian)
jinzhu Oct 12, 2025
56e3ec6
New translations connecting_to_the_database.md (Persian)
jinzhu Oct 12, 2025
819ccb4
New translations community.md (Azerbaijani)
jinzhu Oct 12, 2025
434f45c
New translations connecting_to_the_database.md (Azerbaijani)
jinzhu Oct 12, 2025
d54e31d
New translations community.md (Hindi)
jinzhu Oct 12, 2025
5fabe76
New translations connecting_to_the_database.md (Hindi)
jinzhu Oct 12, 2025
f71508d
New translations many_to_many.md (Chinese Simplified)
jinzhu Oct 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/ar_SA/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ layout: page
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)

## <span id="contribute">Contribute to this page</span>

Expand Down
29 changes: 28 additions & 1 deletion pages/ar_SA/docs/connecting_to_the_database.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Connecting to a Database
layout: page
---

GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Documentation]

Add missing comma: "SQL Server, TiDB"

Context for Agents
[**Documentation**]

Add missing comma: "SQL Server, TiDB"

File: pages/ar_SA/docs/connecting_to_the_database.md
Line: 7

## MySQL

Expand Down Expand Up @@ -178,6 +178,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
## Oracle Database
The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.

### Prerequisite: Install Instant Client
To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.

Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.

After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:

```go
dsn := `user="scott" password="tiger"
connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
libDir="/Path/to/your/instantclient_23_8"`
```
### Getting Started
```go
import (
"github.com/oracle-samples/gorm-oracle/oracle"
"gorm.io/gorm"
)

dsn := `user="scott" password="tiger"
connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
libDir="/Path/to/your/instantclient_23_8"`
db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
```

## SQLite

Expand Down
2 changes: 1 addition & 1 deletion pages/az_AZ/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ layout: page
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)

## <span id="contribute">Contribute to this page</span>

Expand Down
29 changes: 28 additions & 1 deletion pages/az_AZ/docs/connecting_to_the_database.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Connecting to a Database
layout: page
---

GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Documentation]

Add missing comma: "SQL Server, TiDB"

Context for Agents
[**Documentation**]

Add missing comma: "SQL Server, TiDB"

File: pages/az_AZ/docs/connecting_to_the_database.md
Line: 7

## MySQL

Expand Down Expand Up @@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
## Oracle Database
The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.

### Prerequisite: Install Instant Client
To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.

Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.

After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:

```go
dsn := `user="scott" password="tiger"
connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
libDir="/Path/to/your/instantclient_23_8"`
```
### Getting Started
```go
import (
"github.com/oracle-samples/gorm-oracle/oracle"
"gorm.io/gorm"
)

dsn := `user="scott" password="tiger"
connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
libDir="/Path/to/your/instantclient_23_8"`
db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
```

## SQLite

Expand Down
2 changes: 1 addition & 1 deletion pages/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ layout: page
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)

## <span id="contribute">Contribute to this page</span>

Expand Down
2 changes: 1 addition & 1 deletion pages/de_DE/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ layout: page
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)

## <span id="contribute">Trage zu dieser Seite bei</span>

Expand Down
29 changes: 28 additions & 1 deletion pages/de_DE/docs/connecting_to_the_database.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Connecting to a Database
layout: page
---

GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Documentation]

Add missing comma: "SQL Server, TiDB"

Context for Agents
[**Documentation**]

Add missing comma: "SQL Server, TiDB"

File: pages/de_DE/docs/connecting_to_the_database.md
Line: 7

## MySQL

Expand Down Expand Up @@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
## Oracle Database
The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.

### Prerequisite: Install Instant Client
To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.

Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.

After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:

```go
dsn := `user="scott" password="tiger"
connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
libDir="/Path/to/your/instantclient_23_8"`
```
### Getting Started
```go
import (
"github.com/oracle-samples/gorm-oracle/oracle"
"gorm.io/gorm"
)

dsn := `user="scott" password="tiger"
connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
libDir="/Path/to/your/instantclient_23_8"`
db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
```

## SQLite

Expand Down
29 changes: 28 additions & 1 deletion pages/docs/connecting_to_the_database.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Connecting to a Database
layout: page
---

GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Documentation]

Add missing comma: "SQL Server, TiDB"

Context for Agents
[**Documentation**]

Add missing comma: "SQL Server, TiDB"

File: pages/docs/connecting_to_the_database.md
Line: 7

## MySQL

Expand Down Expand Up @@ -182,6 +182,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
## Oracle Database
The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.

### Prerequisite: Install Instant Client
To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.

Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.

After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:

```go
dsn := `user="scott" password="tiger"
connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
libDir="/Path/to/your/instantclient_23_8"`
```
### Getting Started
```go
import (
"github.com/oracle-samples/gorm-oracle/oracle"
"gorm.io/gorm"
)

dsn := `user="scott" password="tiger"
connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
libDir="/Path/to/your/instantclient_23_8"`
db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
```

## SQLite

Expand Down
2 changes: 1 addition & 1 deletion pages/es_ES/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ layout: page
* [Asociar usuarios con roles y permisos](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Filtrado de mapas anidados](https://github.com/survivorbat/gorm-deep-filtering)
* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)

## <span id="contribute">Contribuye a esta página</span>

Expand Down
2 changes: 1 addition & 1 deletion pages/es_ES/docs/advanced_query.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ layout: página

## <span id="smart_select">Campos de selección inteligentes</span>

In GORM, you can efficiently select specific fields using the [`Select`](query.html) method. This is particularly useful when dealing with large models but requiring only a subset of fields, especially in API responses.
In GORM, you can efficiently select specific fields using the [`Select`](query.html) method. .

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Documentation]

Remove the extraneous period; change "method. ." to "method."

Context for Agents
[**Documentation**]

Remove the extraneous period; change "method. ." to "method."

File: pages/es_ES/docs/advanced_query.md
Line: 8


```go
type User struct {
Expand Down
29 changes: 28 additions & 1 deletion pages/es_ES/docs/connecting_to_the_database.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Conectarse a una base de datos
layout: page
---

GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Documentation]

Add missing comma: "SQL Server, TiDB"

Context for Agents
[**Documentation**]

Add missing comma: "SQL Server, TiDB"

File: pages/es_ES/docs/connecting_to_the_database.md
Line: 7

## MySQL

Expand Down Expand Up @@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
## Oracle Database
The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.

### Prerequisite: Install Instant Client
To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.

Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.

After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:

```go
dsn := `user="scott" password="tiger"
connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
libDir="/Path/to/your/instantclient_23_8"`
```
### Getting Started
```go
import (
"github.com/oracle-samples/gorm-oracle/oracle"
"gorm.io/gorm"
)

dsn := `user="scott" password="tiger"
connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
libDir="/Path/to/your/instantclient_23_8"`
db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
```

## SQLite

Expand Down
2 changes: 1 addition & 1 deletion pages/es_ES/docs/constraints.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GORM permite crear restricciones de base de datos con [tag](https://pkg.go.dev/r

## Restricción CHECK

Crear restricción CHECK con tag `check`
Crear restricción CHECK con el tag `check`

```go
type UserIndex struct {
Expand Down
2 changes: 1 addition & 1 deletion pages/fa_IR/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ layout: صفحه
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)

## <span id="contribute">مشارکت در بهبود این صفحه</span>

Expand Down
29 changes: 28 additions & 1 deletion pages/fa_IR/docs/connecting_to_the_database.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Connecting to a Database
layout: page
---

GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Documentation]

Add missing comma: "SQL Server, TiDB"

Context for Agents
[**Documentation**]

Add missing comma: "SQL Server, TiDB"

File: pages/fa_IR/docs/connecting_to_the_database.md
Line: 7

## MySQL

Expand Down Expand Up @@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
## Oracle Database
The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.

### Prerequisite: Install Instant Client
To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.

Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.

After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:

```go
dsn := `user="scott" password="tiger"
connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
libDir="/Path/to/your/instantclient_23_8"`
```
### Getting Started
```go
import (
"github.com/oracle-samples/gorm-oracle/oracle"
"gorm.io/gorm"
)

dsn := `user="scott" password="tiger"
connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
libDir="/Path/to/your/instantclient_23_8"`
db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
```

## SQLite

Expand Down
2 changes: 1 addition & 1 deletion pages/fr_FR/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ layout: page
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)

## <span id="contribute">Contribute to this page</span>

Expand Down
Loading