QueryBuilder Type
The type used to support the F# query syntax. Use 'query { ... }' to use the query syntax. See also F# Query Expressions in the F# Language Guide.
Constructors
Constructor | Description |
|
Create an instance of this builder. Use 'query { ... }' to use the query syntax.
|
Instance members
Instance member | Description |
| |
Full Usage: averageBy projection Parameters:
'T -> ^Value Returns: ^Value Modifiers: inline Type parameters: 'T, 'Q, ^Value |
A query operator that selects a value for each element selected so far and returns the average of these values.
|
| |
|
A query operator that determines whether the selected elements contains a specified element.
|
A query operator that returns the number of selected elements.
| |
|
A query operator that selects distinct elements from the elements selected so far.
|
Full Usage: exactlyOne Returns: 'T |
A query operator that selects the single, specific element selected so far
|
Full Usage: exactlyOneOrDefault Returns: 'T |
A query operator that selects the single, specific element of those selected so far, or a default value if that element is not found.
|
| |
|
A query operator that selects the first element selected so far that satisfies a specified condition.
|
Full Usage: this.For Parameters:
QuerySource<'T, 'Q> body : 'T -> QuerySource<'Result, 'Q2> Returns: QuerySource<'Result, 'Q> |
A method used to support the F# query syntax. Projects each element of a sequence to another sequence and combines the resulting sequences into one sequence.
|
Full Usage: groupBy keySelector Parameters:
'T -> 'Key Returns: QuerySource<IGrouping<'Key, 'T>, 'Q> |
A query operator that groups the elements selected so far according to a specified key selector.
|
Full Usage: groupJoin innerSource outerKeySelector innerKeySelector resultSelector Parameters:
QuerySource<'Inner, 'Q> outerKeySelector : 'Outer -> 'Key innerKeySelector : 'Inner -> 'Key resultSelector : 'Outer -> 'Inner seq -> 'Result Returns: QuerySource<'Result, 'Q> |
A query operator that correlates two sets of selected values based on matching keys and groups the results. Normal usage is 'groupJoin y in elements2 on (key1 = key2) into group'.
|
Full Usage: groupValBy resultSelector keySelector Parameters:
'T -> 'Value keySelector : 'T -> 'Key Returns: QuerySource<IGrouping<'Key, 'Value>, 'Q> |
A query operator that selects a value for each element selected so far and groups the elements by the given key.
|
Full Usage: head Returns: 'T |
A query operator that selects the first element from those selected so far.
|
Full Usage: headOrDefault Returns: 'T |
A query operator that selects the first element of those selected so far, or a default value if the sequence contains no elements.
|
Full Usage: join innerSource outerKeySelector innerKeySelector resultSelector Parameters:
QuerySource<'Inner, 'Q> outerKeySelector : 'Outer -> 'Key innerKeySelector : 'Inner -> 'Key resultSelector : 'Outer -> 'Inner -> 'Result Returns: QuerySource<'Result, 'Q> |
A query operator that correlates two sets of selected values based on matching keys. Normal usage is 'join y in elements2 on (key1 = key2)'.
|
Full Usage: last Returns: 'T |
A query operator that selects the last element of those selected so far.
|
Full Usage: lastOrDefault Returns: 'T |
A query operator that selects the last element of those selected so far, or a default value if no element is found.
|
Full Usage: leftOuterJoin innerSource outerKeySelector innerKeySelector resultSelector Parameters:
QuerySource<'Inner, 'Q> outerKeySelector : 'Outer -> 'Key innerKeySelector : 'Inner -> 'Key resultSelector : 'Outer -> 'Inner seq -> 'Result Returns: QuerySource<'Result, 'Q> |
A query operator that correlates two sets of selected values based on matching keys and groups the results. If any group is empty, a group with a single default value is used instead. Normal usage is 'leftOuterJoin y in elements2 on (key1 = key2) into group'.
|
Full Usage: maxBy valueSelector Parameters:
'T -> 'Value Returns: 'Value |
A query operator that selects a value for each element selected so far and returns the maximum resulting value.
|
| |
Full Usage: minBy valueSelector Parameters:
'T -> 'Value Returns: 'Value |
A query operator that selects a value for each element selected so far and returns the minimum resulting value.
|
| |
A query operator that selects the element at a specified index amongst those selected so far.
| |
| |
|
A method used to support the F# query syntax. Runs the given quotation as a query using LINQ IQueryable rules.
|
Full Usage: select projection Parameters:
'T -> 'Result Returns: QuerySource<'Result, 'Q> |
A query operator that projects each of the elements selected so far.
|
|
A query operator that bypasses a specified number of the elements selected so far and selects the remaining elements.
|
|
A query operator that bypasses elements in a sequence as long as a specified condition is true and then selects the remaining elements.
|
|
A query operator that sorts the elements selected so far in ascending order by the given sorting key.
|
Full Usage: sortByDescending keySelector Parameters:
'T -> 'Key Returns: QuerySource<'T, 'Q> |
A query operator that sorts the elements selected so far in descending order by the given sorting key.
|
Full Usage: sortByNullable keySelector Parameters:
'T -> Nullable<'Key> Returns: QuerySource<'T, 'Q> |
A query operator that sorts the elements selected so far in ascending order by the given nullable sorting key.
|
Full Usage: sortByNullableDescending keySelector Parameters:
'T -> Nullable<'Key> Returns: QuerySource<'T, 'Q> |
A query operator that sorts the elements selected so far in descending order by the given nullable sorting key.
|
|
A method used to support the F# query syntax. Inputs to queries are implicitly wrapped by a call to one of the overloads of this method.
|
|
A method used to support the F# query syntax. Inputs to queries are implicitly wrapped by a call to one of the overloads of this method.
|
Full Usage: sumBy projection Parameters:
'T -> ^Value Returns: ^Value Modifiers: inline Type parameters: 'T, 'Q, ^Value |
A query operator that selects a value for each element selected so far and returns the sum of these values.
|
| |
|
A query operator that selects a specified number of contiguous elements from those selected so far.
|
|
A query operator that selects elements from a sequence as long as a specified condition is true, and then skips the remaining elements.
|
|
A query operator that performs a subsequent ordering of the elements selected so far in ascending order by the given sorting key. This operator may only be used immediately after a 'sortBy', 'sortByDescending', 'thenBy' or 'thenByDescending', or their nullable variants.
|
Full Usage: thenByDescending keySelector Parameters:
'T -> 'Key Returns: QuerySource<'T, 'Q> |
A query operator that performs a subsequent ordering of the elements selected so far in descending order by the given sorting key. This operator may only be used immediately after a 'sortBy', 'sortByDescending', 'thenBy' or 'thenByDescending', or their nullable variants.
|
Full Usage: thenByNullable keySelector Parameters:
'T -> Nullable<'Key> Returns: QuerySource<'T, 'Q> |
A query operator that performs a subsequent ordering of the elements selected so far in ascending order by the given nullable sorting key. This operator may only be used immediately after a 'sortBy', 'sortByDescending', 'thenBy' or 'thenByDescending', or their nullable variants.
|
Full Usage: thenByNullableDescending keySelector Parameters:
'T -> Nullable<'Key> Returns: QuerySource<'T, 'Q> |
A query operator that performs a subsequent ordering of the elements selected so far in descending order by the given nullable sorting key. This operator may only be used immediately after a 'sortBy', 'sortByDescending', 'thenBy' or 'thenByDescending', or their nullable variants.
|
|
A query operator that selects those elements based on a specified predicate.
|
|
A method used to support the F# query syntax. Returns a sequence of length one that contains the specified value.
|
Full Usage: this.YieldFrom Parameters:
QuerySource<'T, 'Q> Returns: QuerySource<'T, 'Q> |
A method used to support the F# query syntax. Returns a sequence that contains the specified values.
|
|
A method used to support the F# query syntax. Returns an empty sequence that has the specified type argument.
|