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
promise = getQueue(String name [, Object options])
3425
+
```
3426
+
3427
+
##### Return Value
3428
+
3429
+
This method returns an [AqQueue Class](#aqqueueclass) object.
3430
+
3431
+
##### Description
3432
+
3433
+
This method returns a queue for enqueuing and dequeuing
3434
+
[Oracle Advanced Queuing (AQ)](#aq) messages.
3435
+
3436
+
##### Parameters
3437
+
3438
+
- ```
3439
+
String name
3440
+
```
3441
+
3442
+
The name of the Advanced Queue to use. This queue should have
3443
+
been created previously, for example with the
3444
+
`DBMS_AQADM.CREATE_QUEUE()` function.
3445
+
3446
+
If the Advanced Queue does not exist in the database, an error will
3447
+
occur when the queue is attempted to be used.
3448
+
3449
+
- ```
3450
+
Object options
3451
+
```
3452
+
3453
+
This optional argument can be used to specify the payload type.
3454
+
It is an object with the following attributes:
3455
+
3456
+
Attribute Name | Description
3457
+
---------------|-------------
3458
+
`payloadType` | A string containing the name of an Oracle Database object type, or a [DbObject Class](#dbobjectclass) earlier acquired from [`connection.getDbObjectClass()`](#getdbobjectclass). If the name of an object type is used, it is recommended that a fully qualified name be used.
3459
+
3460
+
- ```
3461
+
function(Error error, AqQueue queue)
3462
+
```
3463
+
3464
+
The parameters of the callback function are:
3465
+
3466
+
Callback function parameter | Description
3467
+
----------------------------|-------------
3468
+
*Error error* | If `queue()` succeeds, `error` is NULL. If an error occurs, then `error` contains the [error message](#errorobj).
promise = getQueue(String name [, Object options])
3597
-
```
3598
-
3599
-
##### Return Value
3600
-
3601
-
This method returns an [AqQueue Class](#aqqueueclass) object.
3602
-
3603
-
##### Description
3604
-
3605
-
This method returns a queue for enqueuing and dequeuing
3606
-
[Oracle Advanced Queuing (AQ)](#aq) messages.
3607
-
3608
-
##### Parameters
3609
-
3610
-
- ```
3611
-
String name
3612
-
```
3613
-
3614
-
The name of the Advanced Queue to use. This queue should have
3615
-
been created previously, for example with the
3616
-
`DBMS_AQADM.CREATE_QUEUE()` function.
3617
-
3618
-
If the Advanced Queue does not exist in the database, an error will
3619
-
occur when the queue is attempted to be used.
3620
-
3621
-
- ```
3622
-
Object options
3623
-
```
3624
-
3625
-
This optional argument can be used to specify the payload type.
3626
-
It is an object with the following attributes:
3627
-
3628
-
Attribute Name | Description
3629
-
---------------|-------------
3630
-
`payloadType` | A string containing the name of an Oracle Database object type, or a [DbObject Class](#dbobjectclass) earlier acquired from [`connection.getDbObjectClass()`](#getdbobjectclass). If the name of an object type is used, it is recommended that a fully qualified name be used.
3631
-
3632
-
- ```
3633
-
function(Error error, AqQueue queue)
3634
-
```
3635
-
3636
-
The parameters of the callback function are:
3637
-
3638
-
Callback function parameter | Description
3639
-
----------------------------|-------------
3640
-
*Error error* | If `queue()` succeeds, `error` is NULL. If an error occurs, then `error` contains the [error message](#errorobj).
An alias for [connection.close()](#connectionclose).
@@ -4314,7 +4315,7 @@ semantics.
4314
4315
4315
4316
Each attribute will have an object that contains:
4316
4317
4317
-
- `type`: the value of one of the [Oracle Database Type Constant](#oracledbconstantsdbtype), such as 2010 for `oracledb.DB_TYPE_NUMBER` and 2023 for `oracledb.DB_TYPE_OBJECT`.
4318
+
- `type`: the value of one of the [Oracle Database Type Constants](#oracledbconstantsdbtype), such as 2010 for `oracledb.DB_TYPE_NUMBER` and 2023 for `oracledb.DB_TYPE_OBJECT`.
4318
4319
- `typeName`: a string corresponding to the type, such as "VARCHAR2" or "NUMBER". When the attribute is a DbObject, it will contain the name of the object.
4319
4320
- `typeClass`: set if the value of `type` is a DbObject. It is the DbObject class for the attribute.
0 commit comments