gitlab.com/ignitionrobotics/web/ign-go@v1.0.0-rc4/repository/filter.go (about)

     1  package repository
     2  
     3  // Filter is used by a Repository to filter data by a key-value set.
     4  type Filter struct {
     5  	// Template represents a SQL Syntax.
     6  	// Example: `name = ? AND age = ?`
     7  	Template string
     8  	// Values returns the values used by the SQL Syntax.
     9  	// Example: `["Test", 33]`
    10  	Values []interface{}
    11  }