Support the ongoing development of Laravel.io →
hodaddy

hodaddy

Joined 30 Jan 2014

Statistics

Threads 2
Replies 3
Solutions 0
Articles 0

How can I add where clause on DB::raw equation result?

I have a query with a select that has a DB:raw equation to get an invoice balance. I'm not sure how...

Likes Replies

Trying to query a relation of a relation

##Problem I have an eloquent model "Invoice" that hasMany "InvoiceTicket" that b...

Likes Replies
8 years ago

Who's online Laravel 4 Session

How would you save the User_ID to the sessions table? Do you need to extend /vendor/laravel/framewor...

0 Likes
8 years ago

Trying to query a relation of a relation

How would I specify ('invoice AS i') if I switch DB::table(..)-> with Model:: ?

0 Likes
8 years ago

Trying to query a relation of a relation

anlutro, do mean something like this? https://gist.github.com/hodaddy/8739373

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.