Pluck a field from the array. Args: field: The field to pluck from the array. Returns: The array pluck operation.
(self, field: StringVar | str)
| 310 | return array_contains_operation(self, other) |
| 311 | |
| 312 | def pluck(self, field: StringVar | str) -> ArrayVar: |
| 313 | """Pluck a field from the array. |
| 314 | |
| 315 | Args: |
| 316 | field: The field to pluck from the array. |
| 317 | |
| 318 | Returns: |
| 319 | The array pluck operation. |
| 320 | """ |
| 321 | return array_pluck_operation(self, field) |
| 322 | |
| 323 | def __mul__(self, other: NumberVar | int) -> ArrayVar[ARRAY_VAR_TYPE]: |
| 324 | """Multiply the sequence by a number or integer. |