File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ function Get-$className {
200
200
)
201
201
process {
202
202
if (`$ Text) {
203
- Find-LiteDBDocument -Connection `$ Script:DB -Collection $CollectionName -As PSObject | New-$className | Where-Object { `$ _.GetFullText().Contains(`$ Text) }
203
+ Find-LiteDBDocument -Connection `$ Script:DB -Collection $CollectionName -Limit 100000 - As PSObject | New-$className | Where-Object { `$ _.GetFullText().Contains(`$ Text) }
204
204
} else {
205
205
if (`$ $parameterName ) {
206
206
`$ result = Find-LiteDBDocument -Connection `$ Script:DB -Collection $CollectionName -ID `$ $parameterName -As PSObject | New-$className
@@ -211,7 +211,7 @@ function Get-$className {
211
211
`$ result
212
212
}
213
213
} else {
214
- Find-LiteDBDocument -Connection `$ Script:DB -Collection $CollectionName -As PSObject | New-$className
214
+ Find-LiteDBDocument -Connection `$ Script:DB -Collection $CollectionName -Limit 100000 - As PSObject | New-$className
215
215
}
216
216
}
217
217
}
You can’t perform that action at this time.
0 commit comments