Support the ongoing development of Laravel.io →

4,599 Threads

posted 10 years ago

MySQL BIT data type

i have mysql db with bit(1) data types, when using laravel db query classes the return values are em...

0 Likes
3 Replies

hasMany with multiple local keys

I have an existing database (can't change the structure) for which I need to make a web front end. T...

0 Likes
0 Replies

select box auto suggest using selectize.js in laravel 4

need a code for populating 3 select boxes(country,state,city) based on selection on previous select...

0 Likes
0 Replies

SAAS Application in Laravel

I'm developing a SAAS application using Laravel 4. I have one master database and multiple tenant da...

0 Likes
3 Replies

Connect two different databases in a page/module

I'm developing a SAAS application using Laravel. I have one master database and multiple tenant data...

0 Likes
0 Replies

Laravel - SAAS Multitenant Architecture - Database Config

I'm going to start a SAAS model web application and gone through many searches. Finally in my mind h...

0 Likes
1 Replies

Dynamic property on model with implode method

Hi all, I was wondering how I could do the following. I have a user table with 2 field 'first_name'...

0 Likes
1 Replies

Model inheritance in DB (or multi-table models)

Let's assume we have a catalog. We have base Item model and item types model (Car extends Item, Moto...

0 Likes
0 Replies

Transaction with a unique key

Table : photos #id -> primary key #item_id -> foreign_key #title -> string #order -> int...

0 Likes
0 Replies

How to delete an image file when deleting a page?

In controller: public function deletePage() { $pageClass = $this->page->find(Input...

0 Likes
8 Replies
Solved

Print out database data?

Hello If i have a table named 'Books' and i would want to print out all the names of the books that...

0 Likes
2 Replies

Use connections table to source the Eloquent connections

Dear friends, How could be possible to use a database table as a connection container in place of us...

0 Likes
0 Replies

Return results as an array

I'm working with some log data and it returns about hundreds and thousands of data. Without using ch...

0 Likes
0 Replies

How to do multi update with increment

i have a array, store ID, and i wanna do update their position number. something like: UPDATE table...

0 Likes
0 Replies

Same constellations but different sollutions, why?

I'm trying to figure out why a specific constellation doesn't work in the same way, maybe some of yo...

0 Likes
0 Replies

How to delete column contents and save it to database?

I have following code: public function delImage($path, $id) { $page = Page::find($id); \File::d...

0 Likes
1 Replies

Eloquent Query Joins

is there any possible way to join tables with eloquent queries? i have 3 tables Users, Blogs & B...

0 Likes
5 Replies

Query with binding fails but works when using direct input injection

Hello there, i've got an issue with a full text query, that is not running properly when using bindi...

0 Likes
1 Replies

ManyToMany where

Hello, I have 3 tables: products (->belongsToMany('Series')) series (->belongsToMany('Product...

0 Likes
8 Replies

Transition to Laravel

Hello Laravel community, I currently run on the usercake php platform, which is just comprised of a...

0 Likes
2 Replies
Solved

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.