Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

How to get obtain the 10 last registers in SQLite?

$
0
0

I'm trying to get my BD Sqlite the last 10 records from a table.
I tried it with the following command:

return _sqlconnection.Table ().Last ();

But I just returned last record, if I test with the following command:

return _sqlconnection.ExecuteScalar<List> ("SELECT * FROM

ORDER BY fecha DESC LIMIT 1"); I returned an error. You know some method? Thank´s

Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>