Back

how to get selected attributes during get/update document?

  • 0
  • Databases
  • Flutter
Vedsaga
27 Apr, 2023, 06:17

oh, then I guess have to be cautious

TL;DR
The user is experiencing issues with selecting attributes during get/update document. There is a GitHub issue (5376) with tasks that need to be worked on. The user is suggested to update to version 1.3.2 as it may fix some problems with selecting attributes on relationships. The user confirms that not passing 'business' in the select parameter returns the Business document. There is mention of checking worker logs and Docker logs for the Appwrite container. The user will try logging into the AWS console to check the logs. When trying to select a relationship object, an internal error occurs. The user asks if a relationship can be made required
Vedsaga
27 Apr, 2023, 06:18

thank you Steven, I guess I will try it once and then if it worked as I want then I will move this to done

Vedsaga
27 Apr, 2023, 08:09

one doubt, so just like we can make any attribute required can we also make relation to be required while creation of new document?

Drake
27 Apr, 2023, 13:03

Not at the moment

Vedsaga
27 Apr, 2023, 19:59

when trying to do select for relation-ship object, it is returning internal error,

Vedsaga
27 Apr, 2023, 19:59

but, if I don't pass the select then I am getting valid response body

Drake
27 Apr, 2023, 20:07

can you check the appwrite logs?

Vedsaga
27 Apr, 2023, 20:07

yaa, I guess have to login into AWS console 2 min will try

Vedsaga
27 Apr, 2023, 20:11

logged in, where would be logs btw πŸ˜… ? rn at, ~/appwrite$

Drake
27 Apr, 2023, 20:14

i meant the docker logs for the appwrite container

Vedsaga
27 Apr, 2023, 20:14

oh

Vedsaga
27 Apr, 2023, 20:16

so, woker log should I check there is alot of container,

Vedsaga
27 Apr, 2023, 20:18

usage or "maintenance" ?

Vedsaga
27 Apr, 2023, 20:18
Vedsaga
27 Apr, 2023, 20:22

founnd it, simply appwrite I guess...

Vedsaga
27 Apr, 2023, 20:22
Vedsaga
27 Apr, 2023, 20:23
Vedsaga
27 Apr, 2023, 20:30

for now I will for sleep, it's almost 2 AM πŸ˜…

Drake
27 Apr, 2023, 20:41

are you sure business is correct?

Vedsaga
28 Apr, 2023, 05:14

yes, I can confirm... if I don't pass business in select then I do receive Business document

Drake
28 Apr, 2023, 16:00

ok so we don't support select on relationships at the moment because in 1.3.0, there were problems with handling selects and relationships...however, I think 1.3.2 fixed some of the those problems so we can probably enable selects on relationships now

Vedsaga
28 Apr, 2023, 16:39

oh, so should I deploy 1.3.2 because currenlty I am using 1.3.1

Drake
28 Apr, 2023, 17:09

you definitely should..but we still have a lot of work to do to properly implement select on relationships

Drake
28 Apr, 2023, 17:10

I just updated the tasks on this issue with some of the things we need to work on: https://github.com/appwrite/appwrite/issues/5376

Vedsaga
28 Apr, 2023, 17:11

mm, I will update it, no worries I can surely understand it's process of development πŸ™‚ , by trying beta hope I can discover more bugs so that it get's fixed faster

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