GetChallengeByIdExtensions
Extension methods for 'GetChallengeById'.
public static class GetChallengeByIdExtensions
Methods
GetChallengeByIdAsync(SqliteConnection, object, object)
public static Task<Result<ImmutableList<GetChallengeById>, SqlError>> GetChallengeByIdAsync(this SqliteConnection connection, object id, object now)
Executes 'GetChallengeById.sql' and maps results.
Parameters:
| Name | Type | Description |
|---|---|---|
connection |
SqliteConnection |
Open SqliteConnection connection. |
id |
Object |
Query parameter. |
now |
Object |
Query parameter. |
Returns: SqlError>> - Result of records or SQL error.