MongoDb Relationships Pt.3

2021-9-12 Less than 1 minute

# MongoDb Relationships Pt.3

# What is a virtual property?

They are additional fields for a given model. Values can be set manually or automatically with defined functionality.

# When might you use a virtual property?

You would use a virtual property when you get a user's first and last name.

# How do you search by a virtual properties value?

Using the get method for returning the virtual value. Using the set method to split strings.

# Daily Challenge

Afternoon was spent getting ready for the hackathon. (opens new window) Here is Project (opens new window)

Last update: September 19, 2021 13:26
Contributors: Derek Shain