docs: def iter_insert_items(tree):
      """ Iterate over the items to insert from an INSERT statement """
      if tree.list_values:
          keys = tree.attrs
          for values in tree.list_values:
              if len(keys) != len(values):
                  raise SyntaxError(
                      "Values '%s' do not match attributes " "'%s'" % (values, keys)
                  )
              yield dict(zip(keys, map(resolve, values)))
      elif tree.map_values:
          for item in tree.map_values:
              data = {}
              for (key, val) in item:
                  data[key] = resolve(val)
              yield data
      else:
          raise SyntaxError("No insert data found")