mongor icon indicating copy to clipboard operation
mongor copied to clipboard

examples

Open tobsn opened this issue 12 years ago • 7 comments

for someone completely new to laravel - could you add some examples how to use it properly? thanks! :)

(also, is this the goto mongodb bundle or are there others?)

tobsn avatar Jun 09 '12 01:06 tobsn

I planed to rewrite this bundle to be more like Eloquent, now it looks like but the relationship are not working good. You can try to use like Eloquent, now I don't have enough time to finish this bundle and write a completely documentation.

As I know, this is the only bundle for MongoDB.

hpaul avatar Jun 09 '12 09:06 hpaul

whats still to finish? if you point it out i can finish it.

you have any idea how it could be included to be used within auth?

tobsn avatar Jun 10 '12 09:06 tobsn

Relationship are not working really good, many-to-many especially. And some functionalty like MongoCursor, Indexes and MongoTypes are not build.

Now in Laravel 3.2 you can make a custom driver auth, so is easy to map "_id" and retrive user information, i'll try today to make one.

hpaul avatar Jun 10 '12 09:06 hpaul

I'd like to see some examples too, I'd like to try mongodb and I found this classy bundle. It can't be used with migrations?

jcldavid avatar Aug 10 '12 14:08 jcldavid

+1 to all folks above - Please some one provide examples of Selecting, Adding and Removing records via this Bundle.

Cause even after get into source, I can't understand why public functions like remove() or find() returns exception "Method [remove] is not defined." from model.php

To see a docs - will be the best.

dr-dimitru avatar Dec 04 '13 14:12 dr-dimitru

You're still using Laravel 3? If not just look up a package at packagist.

cyrusdavid avatar Dec 04 '13 14:12 cyrusdavid

@vohof yes, on long life projects

dr-dimitru avatar Dec 04 '13 17:12 dr-dimitru