Comment 3 for bug 732409

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

I just updated the documentation :

    /**
     * Execute the clause and return the generated key with the type of the given path
     * If no rows were created, null is returned, otherwise the key of the first row is returned.
     *
     * @param <T>
     * @param path
     * @return
     */
    @Nullable
    public <T> T executeWithKey(Path<T> path)

    /**
     * Execute the clause and return the generated keys with the type of the given path.
     * If now rows were created and empty list is returned.
     *
     * @param <T>
     * @param path
     * @return
     */
    public <T> List<T> executeWithKeys(Path<T> path)