Back

[SOLVED] how to show only todays transaction

  • 0
  • Tools
  • Flutter
new user
30 Apr, 2023, 18:11

Hi, there how can i show only todays transaction,

TL;DR
The user's issue was solved. They wanted to know how to show only today's transactions. The response was that Appwrite has audit logs that can be viewed in the console and by looking at the network logs. However, it is not possible to filter these logs. The user was advised that they would need to implement this filtering themselves.
Drake
30 Apr, 2023, 18:21

What transactions are you talking about?

new user
30 Apr, 2023, 18:24

Like todays sell or i can say only todays added document

Drake
30 Apr, 2023, 18:29

Appwrite has some audit logs you can see them in the console when you open the activity tab when looking at a collection or document. You can open your browsers network logs and look at the logs for the various /logs API calls to see what the network request and full response looks like.

Here's the code: https://github.com/appwrite/appwrite/blob/80dd3644f8d8d0870357272f08375b14c9304143/app/controllers/api/databases.php#L3087

Unfortunately you can't filter these logs.

If there's anything more you need, you'll need to implement it yourself

new user
30 Apr, 2023, 18:32

ok, no issue will implement

Drake
30 Apr, 2023, 18:36

[SOLVED] how to show only todays transaction

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