尝试使用以下查询查询sqlite数据库表:
unrecognized token: "'Alliance Française"
Stack Trace:
at SQLite.Net.Platform.XamarinAndroid.SQLiteApiAndroid.Prepare2 (SQLite.Net.Interop.IDbHandle db, System.String query) [0x00037] in <8dbf6ff85082469fb9d4dfaa9eae6b69>:0
at SQLite.Net.SQLiteCommand.Prepare () [0x0001c] in <8f2bb39aeff94a30a8628064be9c7efe>:0
at SQLite.Net.SQLiteCommand+<ExecuteDeferredQuery>d__15`1[T].MoveNext () [0x0003f] in <8f2bb39aeff94a30a8628064be9c7efe>:0
at System.Collections.Generic.List`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) [0x0008b] in /Users/builder/data/lanes/3819/96c7ba6c/source/mono/mcs/class/referencesource/mscorlib/system/collections/generic/list.cs:99
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00011] in /Users/builder/data/lanes/3819/96c7ba6c/source/mono/mcs/class/referencesource/System.Core/System/Linq/Enumerable.cs:861
at SQLite.Net.SQLiteCommand.ExecuteQuery[T] () [0x0001c] in <8f2bb39aeff94a30a8628064be9c7efe>:0
at SQLite.Net.SQLiteConnection.Query[T] (System.String query, System.Object[] args) [0x00008] in <8f2bb39aeff94a30a8628064be9c7efe>:0
at Prototype.Core.CRUDRepository`1[T].GetByQuery (System.String query, SQLite.Net.SQLiteConnection dbConnection) [0x00002] in C:\C# Projects\Apps Dev\Your Messengar App\ServerApps\Prototype\MessagePrototype\Prototype.Core\CRUDRepository.cs:163
我收到以下错误:
{{1}}
不确定如何继续。
此致
威尔
答案 0 :(得分:0)
使用
解决它
dbConnection.Query(query,selectionArgs)