You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/src/user_guide/appendix_a.rst
+37-34Lines changed: 37 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ enable Thick mode.
15
15
16
16
The following table summarizes the Oracle Database features supported by
17
17
python-oracledb Thin and Thick modes, and by the obsolete cx_Oracle driver.
18
-
For more details see :ref:`driverdiff` and :ref:`compatibility`.
18
+
For more details see :ref:`driverdiff` and :ref:`upgrading83`.
19
19
20
20
.. list-table-with-summary:: Features Supported by python-oracledb and cx_Oracle 8.3
21
21
:header-rows: 1
@@ -369,137 +369,140 @@ example when binding numeric values.
369
369
:header-rows: 1
370
370
:class: wy-table-responsive
371
371
:align: center
372
-
:summary: The first column displays the database data type. The second column displays the python-oracledb constant Name. The third column contains notes. The fourth column shows Python types that can be used.
372
+
:summary: The first column displays the database data type. The second column displays the python-oracledb constant Name. The third column shows Python types that can be used. The fourth column contains notes.
373
373
374
374
* - Oracle Database Type
375
375
- python-oracledb Constant Name
376
-
- Notes
377
376
- Supported Python Types
377
+
- Notes
378
378
* - VARCHAR2
379
379
- :data:`~oracledb.DB_TYPE_VARCHAR`
380
-
- No relevant notes
381
380
- bytes, str
381
+
- No relevant notes
382
382
* - NVARCHAR2
383
383
- :data:`~oracledb.DB_TYPE_NVARCHAR`
384
-
- No relevant notes
385
384
- bytes, str
385
+
- No relevant notes
386
386
* - NUMBER, FLOAT
387
387
- :data:`~oracledb.DB_TYPE_NUMBER`
388
-
- No relevant notes
389
388
- bool, int, float, decimal.Decimal
389
+
- No relevant notes
390
390
* - DATE
391
391
- :data:`~oracledb.DB_TYPE_DATE`
392
-
- No relevant notes
393
392
- datetime.date, datetime.datetime
393
+
- No relevant notes
394
394
* - BOOLEAN (PL/SQL and Oracle Database 23ai SQL)
395
395
- :data:`~oracledb.DB_TYPE_BOOLEAN`
396
-
- No relevant notes
397
396
- Any type convertible to bool
397
+
- No relevant notes
398
398
* - BINARY_DOUBLE
399
399
- :data:`~oracledb.DB_TYPE_BINARY_DOUBLE`
400
-
- No relevant notes
401
400
- bool, int, float, decimal.Decimal
401
+
- No relevant notes
402
402
* - BINARY_FLOAT
403
403
- :data:`~oracledb.DB_TYPE_BINARY_FLOAT`
404
-
- No relevant notes
405
404
- bool, int, float, decimal.Decimal
405
+
- No relevant notes
406
406
* - TIMESTAMP
407
407
- :data:`~oracledb.DB_TYPE_TIMESTAMP`
408
-
- No relevant notes
409
408
- datetime.date, datetime.datetime
409
+
- No relevant notes
410
410
* - TIMESTAMP WITH TIME ZONE
411
411
- :data:`~oracledb.DB_TYPE_TIMESTAMP_TZ`
412
-
- No relevant notes
413
412
- datetime.date, datetime.datetime
413
+
- No relevant notes
414
414
* - TIMESTAMP WITH LOCAL TIME ZONE
415
415
- :data:`~oracledb.DB_TYPE_TIMESTAMP_LTZ`
416
-
- No relevant notes
417
416
- datetime.date, datetime.datetime
417
+
- No relevant notes
418
418
* - INTERVAL YEAR TO MONTH
419
419
- :data:`~oracledb.DB_TYPE_INTERVAL_YM`
420
-
- No relevant notes
421
420
- :ref:`oracledb.IntervalYM <interval_ym>`
421
+
- No relevant notes
422
422
* - INTERVAL DAY TO SECOND
423
423
- :data:`~oracledb.DB_TYPE_INTERVAL_DS`
424
-
- No relevant notes
425
424
- datetime.timedelta
425
+
- No relevant notes
426
426
* - RAW
427
427
- :data:`~oracledb.DB_TYPE_RAW`
428
-
- No relevant notes
429
428
- bytes, str
429
+
- No relevant notes
430
430
* - LONG
431
431
- :data:`~oracledb.DB_TYPE_LONG`
432
-
- No relevant notes
433
432
- bytes, str
433
+
- No relevant notes
434
434
* - LONG RAW
435
435
- :data:`~oracledb.DB_TYPE_LONG_RAW`
436
-
- No relevant notes
437
436
- bytes, str
437
+
- No relevant notes
438
438
* - ROWID
439
439
- :data:`~oracledb.DB_TYPE_ROWID`
440
-
- No relevant notes
441
440
- bytes, str
441
+
- No relevant notes
442
442
* - UROWID
443
443
- :data:`~oracledb.DB_TYPE_ROWID`, :data:`~oracledb.DB_TYPE_UROWID` (only supported in python-oracledb Thin mode)
444
-
- May show :data:`~oracledb.DB_TYPE_UROWID` in metadata. See :ref:`Query Metadata Differences <querymetadatadiff>`.
445
444
- bytes, str
445
+
- May show :data:`~oracledb.DB_TYPE_UROWID` in metadata. See :ref:`Query Metadata Differences <querymetadatadiff>`.
446
446
* - CHAR
447
447
- :data:`~oracledb.DB_TYPE_CHAR`
448
-
- No relevant notes
449
448
- bytes, str
449
+
- No relevant notes
450
450
* - BLOB
451
451
- :data:`~oracledb.DB_TYPE_BLOB`
452
-
- No relevant notes
453
452
- :ref:`oracledb.LOB <lobobj>`, bytes, str
453
+
- No relevant notes
454
454
* - CLOB
455
455
- :data:`~oracledb.DB_TYPE_CLOB`
456
-
- No relevant notes
457
456
- :ref:`oracledb.LOB <lobobj>`, bytes, str
457
+
- No relevant notes
458
458
* - NCHAR
459
459
- :data:`~oracledb.DB_TYPE_NCHAR`
460
-
- No relevant notes
461
460
- bytes, str
461
+
- No relevant notes
462
462
* - NCLOB
463
463
- :data:`~oracledb.DB_TYPE_NCLOB`, :data:`~oracledb.DB_TYPE_LONG_NVARCHAR` (if fetching NCLOB as a string)
464
-
- No relevant notes
465
464
- :ref:`oracledb.LOB <lobobj>`, bytes, str
465
+
- No relevant notes
466
466
* - BFILE
467
467
- :data:`~oracledb.DB_TYPE_BFILE`
468
-
- Can fetch a BFILE object and insert that object in a table. Cannot create BFILE objects.
469
468
- :ref:`oracledb.LOB <lobobj>`, bytes
469
+
- Can fetch a BFILE object and insert that object in a table. Cannot create BFILE objects.
470
470
* - JSON
471
471
- :data:`~oracledb.DB_TYPE_JSON`
472
-
- No relevant notes
473
472
- Any type convertible to Oracle JSON
473
+
- No relevant notes
474
474
* - REF CURSOR (PL/SQL OR nested cursor)
475
475
- :data:`~oracledb.DB_TYPE_CURSOR`
476
-
- No relevant notes
477
476
- :ref:`oracledb.Cursor <cursorobj>`
477
+
- No relevant notes
478
478
* - PLS_INTEGER
479
479
- :data:`~oracledb.DB_TYPE_BINARY_INTEGER`
480
-
- No relevant notes
481
480
- bool, int, float, decimal.Decimal
481
+
- No relevant notes
482
482
* - BINARY_INTEGER
483
483
- :data:`~oracledb.DB_TYPE_BINARY_INTEGER`
484
-
- No relevant notes
485
484
- bool, int, float, decimal.Decimal
485
+
- No relevant notes
486
486
* - REF
487
487
- n/a
488
-
- Not supported in python-oracledb Thin mode
489
488
- n/a
489
+
- Not supported in python-oracledb Thin mode
490
490
* - XMLType
491
491
- :data:`~oracledb.DB_TYPE_XMLTYPE`
492
-
- May need to use ``xmltype.getclobval()`` to fetch in python-oracledb Thick mode. See :ref:`xmldatatype`
493
492
- bytes, str
493
+
- May need to use ``xmltype.getclobval()`` to fetch in python-oracledb Thick mode. See :ref:`xmldatatype`
0 commit comments