You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import groovyx.gaelyk.datastore.*
import groovy.transform.*
@Entity @Canonical @CompileStatic class Comment {
String title
String body
}
new Comment(title: 'Title', body: 'Body').save()
assert Comment.count{ where title == 'Title' } == 0
We might expect result 1 instead of 0. Result is zero because the value is unindexed.
The text was updated successfully, but these errors were encountered:
Given simple script
We might expect result
1
instead of0
. Result is zero because the value is unindexed.The text was updated successfully, but these errors were encountered: