I have observed that when query entity rule returning "no data" is mapped to single type of CDT then that cdt stores typed cdt rather than null. This is causing write to data store entity to insert a null row in the table because the null check is failing for this cdt.
Note: All The fields in my cdt can store null except the primary key field. How can i handlle this type of situation?
Discussion posts and replies are publicly visible
do you do null check before insert?
Yes i did but that got failed because i am getting a type cdt from the query entity rule like this for eg. [id=, col1=,...] hence applying rule that checks cdt is null or not on this type of cdt is failing.