Hi, I'm having some troubles with this package.
I have a RowDataPacket Object that I passed into the omit module.
RowDataPacket {
id: 38,
uuid: '9fb0f6b1-9b9b-56eb-a06e-963011a7c22f',
name: 'Test',
club_id: null,
calendar_id: 42
}
I'm doing the following thing (where team is the RowDataPacket Object)
console.log(ObjectOmit(team, ['id']));
The result is
{}
I got an empty object where it should be the original RowDataPacket Object without his id attribute.
Any chance to have some help here ?
Thanks!
Hi, I'm having some troubles with this package.
I have a RowDataPacket Object that I passed into the omit module.
I'm doing the following thing (where team is the RowDataPacket Object)
console.log(ObjectOmit(team, ['id']));The result is
{}I got an empty object where it should be the original RowDataPacket Object without his id attribute.
Any chance to have some help here ?
Thanks!