Logo
~/ Contact Blog
4 years ago in Laravel

Changing the database connection on Laravel's Query Builder

While working for a client whose codebase had a lot of legacy code I faced an interesting challenge, I needed to change the database connection on an already instantiated query builder, and I couldn't do it the Laravel way. 

Featured

Object Oriented Programming

3 years ago in PHP

Popular articles

Sharing data between views in Laravel

5 years ago in Laravel

Changing the database connection on Laravel's Query Builder

4 years ago in Laravel

How to get rid of blue UIButton background on different states

5 years ago in iOS

Categories

  • Web Development
    • MySQL
    • PHP
      • Laravel
    • Javascript
  • Swift
    • iOS

Tags

alpine authorization conference dart docker eloquent flutter golang hello world ios javascript js knp-snappy laravel master-slave mysql oop performance php policies postgresql python svetle swift sylius symfony uibutton view composer view share webpack wkhtmltopdf
Default Gmail

@SašaBlagojević.