You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to execute this query, but although it's not throwing an exception, I'm not getting any data (I'm sure there's data in the database).
var sql = new StringBuilder(
$@"
SELECT *
FROM Airport
WHERE
AirportCity LIKE '%' + ? + '%' "
);
var parameters = new List<object> { searchTerm };
db => db.QueryAsync<Airport>(sql.ToString(), parameters.ToArray())
The text was updated successfully, but these errors were encountered:
I'm trying to execute this query, but although it's not throwing an exception, I'm not getting any data (I'm sure there's data in the database).
The text was updated successfully, but these errors were encountered: