Skip to content

Commit

Permalink
Update api/src/main/java/jakarta/nosql/Template.java
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan Rauh <[email protected]>
  • Loading branch information
otaviojava and njr-11 authored Feb 20, 2024
1 parent 36c5548 commit d5b0275
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/src/main/java/jakarta/nosql/Template.java
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ public interface Template {
* @return an iterable containing the inserted entities, which may or may not be different instances depending
* on whether the insert caused values to be generated or automatically incremented.
* @throws NullPointerException if the iterable is null or any element is null.
* @throws UnsupportedOperationException if the database does not provide time-to-live for insert operations.
*/
<T> Iterable<T> insert(Iterable<T> entities, Duration ttl);

Expand Down

0 comments on commit d5b0275

Please sign in to comment.