Top "Relationship" questions

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

Laravel hasManyThrough equivalent: belongsTo relationship through another model

I've got a model, it belongs to another model, that model belongs to a third model, and I want an …

php laravel laravel-4 relationship eloquent
HABTM Polymorphic Relationship

I'm pretty new to Rails, and i'm trying to do a polymorphic HABTM relationship. The problem is that I have …

ruby-on-rails-3 activerecord polymorphism relationship has-many-polymorphs
CakePHP hasOne/belongsTo model relationship

I have a few models I'm trying to relate. One model is Item, one is Slide, and another is Asset. …

cakephp orm relationship belongs-to has-one
backbone.js - handling model relationships in a RESTful way

I'm using backbone.js For example, let's suppose we have a "products" model and a "categories" model which have a …

javascript orm model backbone.js relationship
How to build bookshelf.js relationships once the model defined?

I defined a Bookshelf model as var Country = Bookshelf.Model.extend({ tableName: 'countries', }); var Address = Bookshelf.Model.extend({ tableName: 'addresses', …

orm relationship bookshelf.js
Could not find the source association(s) :followed_id in model relationship in Rails 3.2

I get the following error message when requesting the home page of my sample app (following Michael Hartl's Tutorial chapter 11): "…

ruby-on-rails associations relationship railstutorial.org
How do I rename relationships in Neo4j?

I realized only after importing a ton of nodes that I had created relationships called START, which is a reserved …

neo4j rename relationship keyword cypher
Arc relationship (XOR) in Oracle SQL Sata Modeler?

I need to model database in Oracle SQL Developer Data Modeler. I have to create ARC relationship (XOR), but I …

oracle relationship foreign-key-relationship xor oracle-sql-data-modeler
Calculate Family Relationship from Genealogical Data

I would like to be able to calculate the family relationship between two individuals in a family tree, given the …

graph-theory relationship genealogy family-tree
Using "Fact" Relationship Type on the "Dimension Usage" tab in a SSAS OLAP cube

I was hoping someone could explain the appropriate use of the 'FACT Relationship Type' under the Dimension Usage tab. Is …

ssas relationship olap dimension fact-table