python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
EntityFramework Generic Service with Generic Includes
I have a generic service, which is defined like this:
public interface IGenericService<T> : IDisposable
where T : class, IModel
{
Task<bool> Add(T entity);
Task<bool> AddOrU...
Zumpel
Votes: 0
Answers: 1
n-n relation in Backpackforlaravel: doesn't delete corresponding items
I'm having troubles with a n-n relationship in my Backpackforlaravel app. I have Registrations and Sessions, the setup in the model looks like this:
Registration:
public function sessions()
{
retu...
chrisM
Votes: 0
Answers: 1
What is the correct way to query data in SQLAlchemy (async) in case of multiple levels of relationships?
I'm trying to read data from related tables which are x levels deep and which have relationships specified, i.e.:
table A
table B
table C
table ABC
Table ABC has relationships ABC.a = A, ABC.b = B a...
Pavel Duda
Votes: 0
Answers: 1
Filter items based on average rating in Laravel
I am trying to get all items with an average rating that is greater than or equal to the input value.
Here is my attempt:
$filters['ratings'] = array_filter($filters['ratings']);
if ($filters['ratings...
Urget
Votes: 0
Answers: 1