is it possible?
type1Rate = await strapi.db.query('api::type-1-rate.type-1-rate').create({
data: {
TEST1: {
A: item.TEST1?.A || null,
B: item.TEST1?.B || null,
C: item.TEST1?.C || null,
D: item.TEST1?.D || null,
},
TEST2: {
A: item.TEST2?.A || null,
},
publishedAt: new Date(),
},
});
the component isn’t created. i have a component called TEST1 and TEST2 linked to the content type, but it doesn’t create the component. The values aren’t null, either.
This topic has been created from a Discord post (1250414460158480454) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord