Is there a limit to the number of elements and/or their length in the array passed into the WHEREIN eloquent method? For example:
$skuChunks = array_chunk($skus, 20);
foreach ($skuChunks as $chunk) {
BCProduct::whereIn('sku', $chunk)->update(['flag' => $flagValue]);
}
What is the biggest number that I can use instead of 20? If the length of the SKU is 10 symbols, would that affect the number of elements ($chunk size) in comparison if the length was 5 symbols?
Thanks