Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
67 views

I have a table (product) as follows which holds product related data @Entity @Table(name = "product") public class ProductEntity { @Id @GeneratedValue(strategy = GenerationType....
Kasun Siyambalapitiya's user avatar
0 votes
0 answers
46 views

I get an error if my createOptionForm (in a Filament Form Select) has a Select with a 'relationship' definition instead of an options definition. I get the same issue using a Fieldset (in the ...
Lochinvar's user avatar
  • 125
0 votes
2 answers
330 views

Laravel Filament. I have an EditRecord class with Relation Managers. I need to pass some data to this Relation Manager. How to do this? <?php class EditContent extends EditRecord { public $...
Igor's user avatar
  • 1,428
1 vote
1 answer
33 views

I've two custom CI Types(for example: Test1 and Test2) under Node CI Type, I want to create custom relationship between them, How can I do that? I tried creating relationship from CMS UI but I couldn'...
user avatar
0 votes
0 answers
95 views

I have already gone through quite a few answers on SO (eg. this one and this one, but none of them seem to work for me. I am using SQLAlchemy with sqlite, python 3.13.3. In case it matters, this is ...
Wrichik Basu's user avatar
  • 1,403
0 votes
0 answers
41 views

I'm currently exploring peewee ORM and in order to make some tests I've defined two simple databases with three tables as follow I then defined the peewee models into a single file from playhouse....
Arkaik's user avatar
  • 924
0 votes
1 answer
39 views

I have a method tenants() inside the User model, now inside this method it returns like this below which is working fine, return $this->belongsToMany( Municipality::class, '...
Saiful Alam's user avatar
0 votes
0 answers
34 views

I have multiple tasks table and have do relationship to link to my Unique Date Table (date purpose) and dORSID table (Each unique agent) All tasks table relationship to my Date table and dORSID table ...
JiaCheng Heng's user avatar
1 vote
0 answers
54 views

Using SqlAlchemy 1.4, in a FastAPI application, I have the need to import all the models before doing Base.metadata.create_all(). There are many tables with multiple relatinoships. How should I do to ...
Juan Pablo Poittevin's user avatar
0 votes
1 answer
41 views

I'm building application with Laravel, Inertiajs and Vue3. There are three key tables in application: Operators, Locations and Terminals. Terminals belongs to Locations and Locations belongs to ...
Mirsad Batilovic's user avatar
-1 votes
1 answer
64 views

I am trying to build a graph of words, where each word has a relationship to each word with the same letters plus one, like for example : table -> ablate, cablet, tabled, gablet, albeit, albite, ...
Simon W's user avatar
  • 101
0 votes
0 answers
26 views

Hello Stack Overflow community, I'm working on a Laravel 11 project where I need to import data from an Excel file. The file contains multiple columns, and I need to store specific columns (Numero BL, ...
Anas ER-RAKIBI's user avatar
0 votes
1 answer
43 views

I am working with Spring Boot JPA Hibernate. I have @ManyToMany relationship and Junction Table. One Entity is called Entity and the other Button. And then Junction Table is called ENTITY_BUTTONS This ...
ivoronline's user avatar
  • 1,117
0 votes
2 answers
202 views

I am trying to create a HasOne relationship out of HasMany relationship but with added conditions. These are my models Document.php class Document extends Model { public function approvals(): ...
Kenneth's user avatar
  • 115
0 votes
0 answers
36 views

My project brief : To run Racketminster, the town has several lush parks which contain dedicated courts for racket sports. To ensure that they are always kept in pristine condition, the town parks are ...
Sanithu Jayakody's user avatar
0 votes
1 answer
89 views

I have a BookEntity and my domain Book model: public class BookEntity { [Key] public Guid BookId { get; set; } public string Title { get; set; } = string.Empty; public string ...
Aleksandro's user avatar
0 votes
1 answer
33 views

I have a model like the one in the picture where the arrows indicate the direction of the filter. I am trying to get the data from my fact tables so that, given a range of dates (which I get through a ...
David Molina's user avatar
0 votes
0 answers
56 views

How to properly do the relation like 'one user has many friends'? I did it like this, but do not know whether it is a bad code / approach. Maybe it's better to save just ID's of friends? Thank you! ...
endingofourlife's user avatar
0 votes
0 answers
39 views

I have a table of assets which belong to blockgroups which belong to stations. Assets<Blockgroup<Station. I'm trying to filter the table down to a smaller asset list based on some conditions. A ...
Gil Wadsworth's user avatar
3 votes
2 answers
143 views

As the title describes I want to have a zero-or-one to zero-or-one relationship. For example, let's say we have two tables Calls and Files. A call might have an attached file on it, and vice versa. ...
pvarouktsis's user avatar
0 votes
1 answer
81 views

@Model class Habit: Identifiable { @Attribute(.unique) var id: UUID = UUID() @Relationship(deleteRule: .cascade) var completedDays: CompletedDays? var name: String = "" var ...
Purp's user avatar
  • 131
-1 votes
1 answer
114 views

I have created SSAS Tabular Model, in this model there is a date dimension table. After connecting to the model in Power BI, I am facing a problem that the Date relationship is working for some tables,...
Monther's user avatar
  • 31
0 votes
1 answer
186 views

i have created many to many relationship of tbl_products with tbl_sub_categories table using pivot table. and sub_categories are depends on categories, it's fine i am able to get dependent data. but ...
shazim ali's user avatar
0 votes
1 answer
27 views

How do I query based on data in another table in a related query? There are 2 "divided order" data, I want to filter them by id. Thanks in advance for your help my code; $data = ...
onur's user avatar
  • 43
0 votes
0 answers
28 views

Which side of relationship(In all possible mapping cardinality) can have entities that are not associated with any entity on the other side: the "one" side or the "many" side or &...
Arjun Kumar's user avatar

1
2 3 4 5
130