Questions in this tag typically involve the association that a set of data has with other set(s) of data.
In laravel, after using attach() or detach() to add or remove something from a relation, the collection has not changed. …
php collections laravel laravel-4 relationshipI have an object with some relationships and I need to check if these relations are empty or not, I'm …
laravel relationshipI have a ManyToOne relationship in one of my entities, like so: class License { // ... /** * Customer who owns the license * * @var \…
php doctrine-orm relationship many-to-oneI have the following relations set up: class Page { public function comments() { return $this->hasMany('Comment'); } } class Comment { public …
laravel laravel-4 eloquent relationshipIs it possible to set up a double relationship in activerecord models via the generate scaffold command? For example, if …
ruby-on-rails rails-activerecord relationshipI have a problem with replicating one of my models with all the relationships. The database structure is as follows: …
php laravel eloquent clone relationshipDoes the double line in the following ER diagrams means total participation or recursive relation? Could anyone tell me the …
entity-relationship relationshipActually, make that a couple of amateur UML questions! When creating a UML diagram to model some domain concepts and …
uml relationship compositionI have two models, users and promotions. The idea is that a promotion can have many users, and a user …
ruby-on-rails has-and-belongs-to-many relationshipI have this table CREATE TABLE [dbo].[CityMaster]( [CityID] [int] NOT NULL, [City] [varchar](100) COLLATE SQL_Latin1_General_CP1_CI_…
sql-server foreign-keys relational-database constraints relationship