Hi everyone, I was on the Bubble editor when I came across the :ranked by option. I looked on the Bubble forum, but I’m still confused on what this function does/how to use it effectively.
Thank you,
Dylan
Hi everyone, I was on the Bubble editor when I came across the :ranked by option. I looked on the Bubble forum, but I’m still confused on what this function does/how to use it effectively.
Thank you,
Dylan
:ranked by…
Ranks a list of things by average RMS similarity of all numerical fields to a target item of the same type. Use this to match people for a dating app for instance.
Bubble Reference: https://bubble.io/reference#Data.Messages.list.ranked_by
Just like @lantzgould mentioned. I am just too slow at typing… It is used for matching purposes. From the Bubble Reference:
Ranks a list of things by average RMS similarity of all numerical fields to a target item of the same type. Use this to match people for a dating app for instance."
Here is an example for you:
Editor: https://bubble.io/page?type=page&name=rankedby&id=805testapp42&tab=tabs-1
Preview: https://805testapp42.bubbleapps.io/version-test/rankedby?debug_mode=true
For me, the confusing part was to figure out which number it was comparing. Then I noticed it said “ALL numerical fields” so it actually ranks it by ALL of the numbers I saved in the database attached to the user. Hope that makes sense.
Hope that helps!
Thank you, this making more sense now!
Glad it helped! Keep up the good work!
I don’t think I’ve ever used :rank by before. Interesting! Thanks for the info @lantzgould @J805.
This topic was automatically closed after 70 days. New replies are no longer allowed.