Whats the best way of removing results from an array server side

I am returning 100 results from a single call to an API as an Array
I have a database query with a few records of productCode

I would like to only show the API records that do not exist in the Database records, as if they are already in the database, it means that product is already done and no longer requires processing.

What is the best way to arrayRemove from the server side?

Community Page
Last updated: