Back

[SOLVED] How to get and Process Data from AppWrite Database in Java

  • 0
  • Databases
SenZi
13 May, 2023, 18:51

Hi, I am using AppWrite Java Server SDK (kotlin sdk), I am getting the data using document.getData() function and logging it gives all the data but how do I get each attribute? The Logged Data doesn't seem to be json either.

TL;DR
The user was initially having difficulty getting and processing data from the AppWrite Database in Java. However, they have since found a solution by using a Java Map. The user had some understanding of how to use maps in Java and implemented it successfully.
Drake
13 May, 2023, 18:52

If you look, you'll see it's Map. Do you know how to use maps in java?

SenZi
13 May, 2023, 18:54

Oh gotcha, yes i've worked with maps before, i'll give it a try and let you know.

SenZi
16 May, 2023, 16:20

Hi, Apologies for the late reply, i got it working as a java map and everything works perfect now.

Drake
16 May, 2023, 17:15

[SOLVED] How to get and Process Data from AppWrite Database in Java

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