I get SQLite.SQLiteException: \'no such column: osborne\' when I run this code. osborne is my search term, not the column. The column is LastName. Here is the queryasync code
you need to delimit string parameters in SQL queries
return Database.QueryAsync ($"SELECT * FROM [DataItem] WHERE [LastName] = '{s}'");
as pointed out in the comments, parameterized queries are more secure
return Database.QueryAsync ("SELECT * FROM [DataItem] WHERE [LastName] = ?", s);