diff --git a/src/Builder.php b/src/Builder.php index 1958be9..1d6fd57 100644 --- a/src/Builder.php +++ b/src/Builder.php @@ -418,6 +418,17 @@ private static function sanitize($data) return $data; } + /** + * Sanitizes values in an array + * @param array $arry: the array to sanitize + * @return array :sanitized array output + */ + private static function sanitizeAV(array $arry){ + return array_map(function($value){ + return self::sanitize($value); + },$arry); + } + /** *Validate that the table name has been provided and is a string