Interface Mutiny.MutationQuery

    • Method Detail

      • executeUpdate

        io.smallrye.mutiny.Uni<Integer> executeUpdate()
        Asynchronously execute this delete, update, or insert query, returning the updated row count.
        Returns:
        the row count as an integer
        See Also:
        Query.executeUpdate()
      • setParameter

        Mutiny.MutationQuery setParameter​(int parameter,
                                          Object argument)
        Description copied from interface: Mutiny.AbstractQuery
        Set the value of an ordinal parameter. Ordinal parameters are numbered from 1, and are specified in the query using placeholder tokens of form ?1, ?2, etc.
        Specified by:
        setParameter in interface Mutiny.AbstractQuery
        Parameters:
        parameter - an integer identifying the ordinal parameter
        argument - the argument to set