I have the column name in my database, that is set to be unique
My insert method is like:
( There can be up to 10 tags )
foreach($tags as $tag){
$test = new BlogsTags();
$test->name = $tag;
$test->save();
}
If the tags exists in the database it will be ignored, becuase it's set to be unique, is this bad?