Support the ongoing development of Laravel.io →

l3hash

Joined 17 Feb 2014

Statistics

Threads 0
Replies 7
Solutions 0
Articles 0

l3hash has not posted any threads yet

replied 9 years ago

Save one to many relations without dublicates

Make sure that the page doesn't exist, before saving.

0 Likes
replied 9 years ago

Inverse of "save" for an "hasMany" relationship.

Hi, try $user->posts()->detach( $post)

0 Likes
replied 9 years ago

Import .sql-file into database

psychonetic said: Be careful with large sql files, it's might be better to split your sql dump, bec...

0 Likes
replied 9 years ago

Import .sql-file into database

Try mysql -u username -p database_name < file.sql via CLI.

0 Likes
replied 9 years ago
0 Likes

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.