Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sqlite/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在Xamarin XAML中对Sqlite数据库进行原始查询_Sqlite_Xaml_Xamarin - Fatal编程技术网

如何在Xamarin XAML中对Sqlite数据库进行原始查询

如何在Xamarin XAML中对Sqlite数据库进行原始查询,sqlite,xaml,xamarin,Sqlite,Xaml,Xamarin,我需要对Android和iOS的Xamarin中的sqlite数据库进行原始查询。我无法使用面向对象查询(conn.Insert,conn.CreateTable,conn.Table等) 哪个库最适合进行完整的原始查询? 谢谢 确保您阅读了他们的文档,因为SQLite不支持所有SQL查询 如何进行“选择”?。。。按照文档()我可以创建、插入、更新等,但我不能选择。这是我的代码:SQLiteAsyncConnection conn=newsqliteasyncconnection(App.Dat

我需要对Android和iOS的Xamarin中的sqlite数据库进行原始查询。我无法使用面向对象查询(
conn.Insert
conn.CreateTable
conn.Table
等)

哪个库最适合进行完整的原始查询? 谢谢

确保您阅读了他们的文档,因为SQLite不支持所有SQL查询


如何进行“选择”?。。。按照文档()我可以创建、插入、更新等,但我不能选择。这是我的代码:SQLiteAsyncConnection conn=newsqliteasyncconnection(App.Databaselocation);wait conn.ExecuteAsync(“从t中选择y”).ContinueWith((t)=>{var c=t.Exception;});var result=await conn.ExecuteAsync(“从t中选择y”);我猜您希望在代码中使用所选项(否则您只需运行sql查询,而不使用它)。
conn.Execute("Your query");