Class SQLDeleteFn

  • All Implemented Interfaces:
    Callable, Function, GroundedValue, Item, Sequence

    public class SQLDeleteFn
    extends SystemFunction
    This class implements the sql:delete() extension function. Arguments:
    1. The connection
    2. The table name
    3. A SQL predicate selecting the rows to be deleted
    • Constructor Detail

      • SQLDeleteFn

        public SQLDeleteFn()
    • Method Detail

      • call

        public Sequence call​(XPathContext context,
                             Sequence[] arguments)
                      throws XPathException
        Description copied from interface: Function
        Invoke the function
        Parameters:
        context - the XPath dynamic evaluation context
        arguments - the actual arguments to be supplied
        Returns:
        the result of invoking the function
        Throws:
        XPathException - if a dynamic error occurs within the function