trying to create db function which exclude non numeric values before insert&update - Supabase