skip to Main Content

Looping multyple DB connections in Laravel

I am summing the columns from different tables each in a different database. Created the models for each of the 8 connections and added them to the controller. use AppModelsobjectMapping1; use AppModelsobjectMapping2; use AppModelsobjectMapping3; use AppModelsobjectMapping4; use AppModelsobjectMapping5; use AppModelsobjectMapping6;…

VIEW QUESTION

Mysql – FIltering result from query

This query return users from database MariaDB (MySql). I need to remove rows from result, where in surname is added "(old)" OR "- R". How to edit a query? SELECT au.id, au.name, au.surname FROM statements s JOIN aduser au ON…

VIEW QUESTION
Back To Top
Search