Back

I am getting errors with Following Code

  • 0
  • Databases
  • Flutter
  • Cloud
Arif Qayoom
30 Sep, 2024, 17:17

"Future<void> fetchRecentChats() async { try { final result = await _database!.listDocuments( collectionId: 'chatsCollection', orderAttributes: ['lastUpdated'], orderTypes: ['DESC'], );"

TL;DR
Developers experiencing errors with code while attempting to fetch recent chats from a database. The issue arises with the retrieval method used in the code snippet provided.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more