Is it possible to use parse.com pointers with images across classes using JavaScript? -


using parse.com , javascript sdk.

i've image stored in "_user" class.

i have class called "links"

each user have multiple records stored in links class.

when querying links class want able access image stored against user.

do use pointer of relationship this? or achieve using query?

just looking direction, maybe code example if available.

"each user has many rows in 'links' "

"image store in _user"

sounds should have same pointer-to-user-image value available on 2 access paths.

  1. getting _user includes link file image of user.

  2. getting links rows user ( includes independent link same image )

note logged in user have ref _user anytime logged in have reference img-link logged in user.

note if logged on "a" , query _user(b) rows in 'links' ( assuming have access them ) have pointer user a's image in results.

if 2 , independent access paths want provide same pointer in both classes ( _user, links ).


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -