Skip to content

Commit

Permalink
RDoc-2314 Fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielle9897 committed Dec 11, 2024
1 parent 03026d1 commit bd17de5
Showing 1 changed file with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,17 @@ This is done by defining the `Type` and the `Value` properties for the data bein
* **Type**:
The type specifies the SQL column type the value is loaded to.
The type should correspond to the data types used in the target relational database.
If no type is specified, the column type will be detected automatically.

Supported enums for `Type` include:
* _SqlDbType_ - see [Microsoft SQL Server](https://learn.microsoft.com/en-us/sql/t-sql/data-types/data-types-transact-sql)
* _NpgsqlDbType_ - see [PostgreSQL](https://www.npgsql.org/doc/api/NpgsqlTypes.NpgsqlDbType.html)
* _MySqlDbType_ - see [MySQL Data Types](https://dev.mysql.com/doc/refman/8.4/en/data-types.html)
* _OracleDbType_ - see [Oracle Data Types](https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/Data-Types.html)

Some databases allow combining enum values using `|`.
For example, using `Array | Double` for the Type is valid for PostgreSQL.

If no type is specified, the column type will be detected automatically.

* **Value**:
The value contains the actual data to be loaded into the column.
Expand All @@ -259,13 +269,6 @@ var orderData = {
loadToOrders(orderData);
{CODE-BLOCK/}

* Refer to the official documentation for detailed information on supported types for each relational database:

* [Microsoft SQL Server Data Types](https://learn.microsoft.com/en-us/sql/t-sql/data-types/data-types-transact-sql)
* [PostgreSQL Data Types](https://www.npgsql.org/doc/api/NpgsqlTypes.NpgsqlDbType.html)
* [MySQL Data Types](https://dev.mysql.com/doc/refman/8.4/en/data-types.html)
* [Oracle Data Types](https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/Data-Types.html)

---

### Filtering
Expand Down

0 comments on commit bd17de5

Please sign in to comment.