Top "Relationship" questions

Questions in this tag typically involve the association that a set of data has with other set(s) of data.

Laravel - Eloquent "Has", "With", "WhereHas" - What do they mean?

I've found the concept and meaning behind these methods to be a little confusing, is it possible for somebody to …

laravel orm eloquent relational-database relationship
Meaning of "n:m" and "1:n" in database design

In database design what do n:m and 1:n mean? Does it have anything to do with keys or relationships?

mysql database foreign-keys relationship
Laravel where on relationship object

I'm developing a web API with Laravel 5.0 but I'm not sure about a specific query I'm trying to build. My …

php laravel eloquent relationship where-clause
Implementation difference between Aggregation and Composition in Java

I'm aware of the conceptual differences between Aggregation and Composition. Can someone tell me the implementation difference in Java between …

java relationship aggregation composition
Delete all nodes and relationships in neo4j 1.8

I know this question is asked by many people already for my research, here's some questions asked before How to …

neo4j nosql relationship
Laravel save / update many to many relationship

Can anyone help me on how to save many to many relationship? I have tasks, user can have many tasks …

laravel laravel-4 eloquent relationship
Laravel Eloquent - Attach vs Sync

What is the difference between attach() and sync() in Laravel 4's Eloquent ORM? I've tried to look around but couldn't …

php laravel laravel-4 eloquent relationship
How to find all the relations between all mysql tables?

How to find all the relations between all MySQL tables? If for example, I want to know the relation of …

mysql database relationship relation
Laravel: Get pivot data for specific many to many relation

My User model has many Target and vice versa. Now I've got a given User and given Target and I …

laravel relationship
UML relationships - dashed line vs solid line

What is the difference between these 2 relationships? Edit: Also if you could provide a simple code example illustrating the difference, …

language-agnostic uml relationship class-diagram