Package groovy.sql

Interface InListParameter


public interface InListParameter
Marker that expands a collection into a comma-separated list of positional placeholders when bound to a SQL IN clause.

Create instances via Sql.inList(Collection).

Since:
6.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the values that should be expanded into positional placeholders.
  • Method Details

    • getValues

      Collection<?> getValues()
      Returns the values that should be expanded into positional placeholders.
      Returns:
      the values for the expanded IN list