Open jhunexjun opened 9 months ago
Can this package supports user-defined data types?
just normal as built-in types like NVARCHAR, VARCHAR, etc.
TypeError: Cannot read properties of undefined (reading 'type')
Cannot read properties of undefined (reading 'type')
return await msSqlConnect.getInstance().then(pool => { return pool.request() .input('userId', msSql.T_USR_ID, req.query.userId) .query('select * from SY_USR where USR_ID = @userId') }).then(result => { console.log('result: ', result); return result.recordset; }).catch(err => { console.log(err); });
The T_USR_ID is a user-defined data type.
T_USR_ID
Can this package supports user-defined data types?
Expected behaviour:
just normal as built-in types like NVARCHAR, VARCHAR, etc.
Actual behaviour:
TypeError:
Cannot read properties of undefined (reading 'type')
Configuration:
The
T_USR_ID
is a user-defined data type.Software versions