How is the owner field defined?
Can you modify it?
In general, owner field refer to permission who is the creator or owner of a row of data. It can difference with Id field.
Example 1. Using in shopping cart
In this case, owner field mean the buyer who put item in shopping cart. It will not same with ID field because ID field was a code to represent a row of data.
Example 2. Using in member area
In this case, owner and ID field are equal.
Thanks a lot, Hesson. 🙂
Let’s say in a collection where everyone can write. What will be the owner for a record made by a visitor (nonmember)?
is it unique or generic?
Keep it simple.
If a web-user is your site member, he/she may use same owner code in your website even he/she doesn't any action.
If a web-user doesn't need to become a site member and can put data into your database, owner field may change every time. Although the web-user is the same person, he/she action may not use same owner code.