I am writing criteria to make a request, but I cannot figure out how to deny the inList criteria ... Is there a way to do something like:
def result = c { not inList('id', ids) }
thanks
Your criteria should like ...
def ids = [1, 2, 3]; def c = Foo.createCriteria(); def results = c.list { not {'in'("id",ids)} }
The documentation can be found here . I believe this was just added in grails 2. +
Source: https://habr.com/ru/post/914714/More articles:nginx does not serve static assets in Rails 3 - ruby-on-rails-3Integer to real conversion function - type-conversionChecking Internet connection on Android - androidJava - convert doc / docx file to chm file - javaIs there any way to enter decorated functions by skipping decorator code - pythonHow to get JNLP to download the correct version of JavaFX 2? - javaRounding to the nearest 0.05 in JavaScript - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/914717/how-to-deploy-a-desktop-javafx-20-application-correctly-using-jnlp-for-32-and-64-bit&usg=ALkJrhjMMYrvnItE5dIwm6ejZPW8IBYQcQhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/914718/convert-spaces-to-tabs-in-lines-i-changed-in-a-commit&usg=ALkJrhgZHtUGsjPKCEWtf7fQ3kL843LucASource code for standard instances of typeclass instances - haskellAll Articles