SQLProvider

AsyncOperations Module

Provides asynchronous operations for SQL queries. Use these functions when you need to execute queries asynchronously to avoid blocking threads.

Functions and values

Function or value Description

executeAsync s

Full Usage: executeAsync s

Parameters:
Returns: Task<'T seq>

Executes a queryable asynchronously and returns the results as a sequence. This is useful for executing large queries without blocking the calling thread. param s: The queryable to execute returns: A task that yields a sequence of results

s : IQueryable<'T>
Returns: Task<'T seq>

getAggAsync agg s

Full Usage: getAggAsync agg s

Parameters:
Returns: Task<'T>
agg : string
s : IQueryable<'T>
Returns: Task<'T>

getCountAsync s

Full Usage: getCountAsync s

Parameters:
Returns: Task<int>
s : IQueryable<'T>
Returns: Task<int>

getExactlyOneAsync s

Full Usage: getExactlyOneAsync s

Parameters:
Returns: Task<'T>
s : IQueryable<'T>
Returns: Task<'T>

getHeadAsync s

Full Usage: getHeadAsync s

Parameters:
Returns: Task<'T>
s : IQueryable<'T>
Returns: Task<'T>

getTryExactlyOneAsync s

Full Usage: getTryExactlyOneAsync s

Parameters:
Returns: Task<'T option>
s : IQueryable<'T>
Returns: Task<'T option>

getTryHeadAsync s

Full Usage: getTryHeadAsync s

Parameters:
Returns: Task<'T option>
s : IQueryable<'T>
Returns: Task<'T option>

Type something to start searching.