insert collection

Hi guys is there a such function like insert_item() but for insert collection?
I have been searching this forum and google search but have not find one yet.

I try to write a small plugin to insert collections to the database.

Thank you so much ;)

Yes, it's called insert_collection.

Thanks John, that exactly what I was looking for ;)