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
* Shifts the number by the specified number of decimal places
279
299
* @param digits - number of decimal places to shift. It can be negative. Positive values shift the decimal place to the right and negative values to the left. For example, if NUMBER corresponds to 1234.5 and digits == -1, the new NUMBER object will correspond to 123.45.
280
300
* @returns an Oracle number containing the shifted result
301
+
*
302
+
* Note: since Oracle 23.5, `this >> other` or `this << -other` can be used instead.
@@ -193,30 +195,40 @@ export class OracleNumber extends OracleNumberOperators {
193
195
* Adds an Oracle number to another Oracle number
194
196
* @param other - the other Oracle number
195
197
* @returns returns the sum of the two Oracle NUMBERs
198
+
*
199
+
* Note: since Oracle 23.5, `this + other` can be used instead.
196
200
*/
197
201
add(other: OracleNumber): OracleNumber;
198
202
/**
199
203
* Subtracts an Oracle number from the Oracle number and returns the resulting Oracle number
200
204
* @param other - the other number to be subtracted from the OracleNumber
201
205
* @returns the result of the subtraction as OracleNumber
206
+
*
207
+
* Note: since Oracle 23.5, `this - other` can be used instead.
202
208
*/
203
209
sub(other: OracleNumber): OracleNumber;
204
210
/**
205
211
* Multiplies the Oracle number with another Oracle number
206
212
* @param other - the other Oracle number
207
213
* @returns the result of the multiplication as Oracle number
214
+
*
215
+
* Note: since Oracle 23.5, `this * other` can be used instead.
208
216
*/
209
217
mul(other: OracleNumber): OracleNumber;
210
218
/**
211
219
* Divides two Oracle numbers
212
220
* @param other - divisor
213
221
* @returns the result of the division as Oracle number
222
+
*
223
+
* Note: since Oracle 23.5, `this / other` can be used instead.
214
224
*/
215
225
div(other: OracleNumber): OracleNumber;
216
226
/**
217
227
* Computes the modulus of two Oracle numbers.
218
228
* @param other - the other Oracle number
219
229
* @returns this number modulo the other number
230
+
*
231
+
* Note: since Oracle 23.5, `this % other` can be used instead.
220
232
*/
221
233
mod(other: OracleNumber): OracleNumber;
222
234
/**
@@ -274,12 +286,16 @@ export class OracleNumber extends OracleNumberOperators {
274
286
* Compares two Oracle numbers.
275
287
* Returns -1 if this < other, 0 if they are equal, and 1 if this > other.
276
288
* @returns the result of the comparison as a number between -1 and +1.
289
+
*
290
+
* Note: since Oracle 23.5, `<, <=, >=, >` can be used instead.
277
291
*/
278
292
compare(other: OracleNumber): number;
279
293
/**
280
294
* Checks if the Oracle number is equal to another Oracle number
281
295
* @param other - the other Oracle number
282
296
* @returns true if both Oracle numbers are equal, otherwise false
297
+
*
298
+
* Note: since Oracle 23.5, `==` or `!=` can be used instead.
283
299
*/
284
300
equals(other: OracleNumber): boolean;
285
301
/**
@@ -290,6 +306,8 @@ export class OracleNumber extends OracleNumberOperators {
290
306
/**
291
307
* Raises this Oracle number to the given exponent
292
308
* @returns the result of the exponentiation
309
+
*
310
+
* Note: since Oracle 23.5, `this ** other` can be used instead.
293
311
*/
294
312
power(exp: OracleNumber|number): OracleNumber;
295
313
/**
@@ -326,6 +344,8 @@ export class OracleNumber extends OracleNumberOperators {
326
344
/**
327
345
* Negates the number
328
346
* @returns the negated Oracle number
347
+
*
348
+
* Note: since Oracle 23.5, `-this` can be used instead.
329
349
*/
330
350
neg(): OracleNumber;
331
351
/**
@@ -354,6 +374,8 @@ export class OracleNumber extends OracleNumberOperators {
354
374
* Shifts the number by the specified number of decimal places
355
375
* @param digits - number of decimal places to shift. It can be negative. Positive values shift the decimal place to the right and negative values to the left. For example, if NUMBER corresponds to 1234.5 and digits == -1, the new NUMBER object will correspond to 123.45.
356
376
* @returns an Oracle number containing the shifted result
377
+
*
378
+
* Note: since Oracle 23.5, `this >> other` or `this << -other` can be used instead.
357
379
*/
358
380
shift(digits: OracleNumber|number): OracleNumber;
359
381
/**
@@ -2286,8 +2308,6 @@ export abstract class IConnection {
2286
2308
* it conforms to the {@link IExecuteArgs} interface
2287
2309
* and contains the SQL statement to be executed and the bind values.
2288
2310
*
2289
-
* This object exposes the SQL statement and values properties to retrieve the SQL string and bind values
2290
-
* The statement may contain bind parameters.
2291
2311
* @param bindParams needed if there are bind parameters in the SQL
2292
2312
* statement, see {@link BindParameters}.
2293
2313
* @param options an optional parameter to execute() that may be used to
0 commit comments