text title

This is description


  • Address: dhaka dhaka
  • Phone: 1724708583
  • Email: mamun.ruet@primeasia.edu.bd
  • Time: 01
  • Date: 2019-09-03

One To One (Polymorphic)

for 0 ratings 0 Views 3 weeks ago

Availability: 0 | Condition: 0

A one-to-one polymorphic relation is similar to a simple one-to-one relation; however, the target model can belong to more than one type of model on a single association. For example, a blog Post and a User may share a polymorphic relation to an Image model. Using a one-to-one polymorphic relation allows you to have a single list of unique images that are used for both blog posts and user...

A one-to-one polymorphic relation is similar to a simple one-to-one relation; however, the target model can belong to more than one type of model on a single association. For example, a blog Post and a User may share a polymorphic relation to an Image model. Using a one-to-one polymorphic relation allows you to have a single list of unique images that are used for both blog posts and user accounts. First, let's examine the table structure:

Field Name Sepcifications
Color sdfsdf
Weight sdfsd
Size sdfs
Send your Review
Ask your question?
Scroll