Whitespace adjustments in JSON Relational Duality and Fetch Type Handler Tests
This commit is contained in:
parent
8e43b9cabf
commit
310203de4e
|
@ -467,13 +467,13 @@ describe('271. fetchTypeHandler.js', function() {
|
|||
|
||||
await connection.execute(`INSERT INTO ${TABLE} values (01, 'ABC', 23,
|
||||
TO_TIMESTAMP('2023-04-27 10:30:00', 'YYYY-MM-DD HH24:MI:SS'))`);
|
||||
const result = await connection.execute(`
|
||||
SELECT id, name, age,
|
||||
created_date AS TS_DATE FROM ${TABLE}`,
|
||||
[],
|
||||
{
|
||||
outFormat: oracledb.OUT_FORMAT_OBJECT
|
||||
}
|
||||
const result = await connection.execute(
|
||||
`SELECT id, name, age,
|
||||
created_date AS TS_DATE FROM ${TABLE}`,
|
||||
[],
|
||||
{
|
||||
outFormat: oracledb.OUT_FORMAT_OBJECT
|
||||
}
|
||||
);
|
||||
|
||||
assert.deepEqual(Object.getOwnPropertyNames(result.rows[0]), ["ID", "NAME", "AGE", "TS_DATE"]);
|
||||
|
|
Loading…
Reference in New Issue