Re: [Pharo-users] Voyage - collecting data from Mongo

2017-05-02 Thread Stephane Ducasse
Tx I will add that to the Voyage booklet I will edit soon :) On Tue, May 2, 2017 at 3:29 PM, Mark Rizun wrote: > Hi, > > the solution to my initial issue is to create a class MyClass with two > class side methods > > MyClass class >> isVoyageRoot > ^ true > > MyClass class >> descriptionContai

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-05-02 Thread Mark Rizun
Hi, the solution to my initial issue is to create a class MyClass with two class side methods MyClass class >> isVoyageRoot ^ true MyClass class >> descriptionContainer ^ VOContainer new collectionName: 'myCollection'; yourself Also, to properly read the data one should

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-04-30 Thread Sabine Manaa
Happy to help. I got this information from Udo Schneider in slack several weeks ago. As far as I know, he works on an update for several things concerning mongo but I don't know when he will release it. chrismihaylyk [via Smalltalk] schrieb am So. 30. Apr. 2017 um 16:45: > Sabine, thank you ver

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-04-30 Thread Христина Михайлюк
Sabine, thank you very much! It's very helpful, work fine. 2017-04-30 17:09 GMT+03:00 Sabine Manaa : > Khrystyna , > > I also use a new version of mongo with authentication (but only old > version) and wired Tiger. > > I am not sure but possibly you can try to overwrite the following method > to

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-04-30 Thread Sabine Manaa
Khrystyna , I also use a new version of mongo with authentication (but only old version) and wired Tiger. I am not sure but possibly you can try to overwrite the following method to fix the problem: MongoDatabase>>collections | reply names | reply := self command: {(#listCollections -> 1)} asDic

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-04-30 Thread Mark Rizun
> Mark > once you have a solution could you post it because I would like to add > your question to the voyage chapter. > stef > Sure thing, Stef.

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-04-30 Thread Stephane Ducasse
Mark once you have a solution could you post it because I would like to add your question to the voyage chapter. stef On Sun, Apr 30, 2017 at 10:37 AM, Stephane Ducasse wrote: > mark > > what is such collection? > > Stef > > On Fri, Apr 28, 2017 at 11:04 PM, Holger Freyther > wrote: > >> >> > O

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-04-30 Thread Христина Михайлюк
Hello, Holger! When I'm using MongoTalk in Pharo 5 and MongoDB 3.4 I can only get a list of existing databases, using command Mongo default open databases. But when I want to get some database's collection (Mongo default open databaseNamed: 'SomeDatabase') collectionAt:'SomeCollection'. it ret

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-04-30 Thread Mark Rizun
I am running a Pharo3.0 image (with an older Voyage) against MongoDB 3.2. I think I am already using "WiredTiger" as database. If you can reproduce it, we can have a look. The only issue I have seen is Sabines authentication failure with more "modern" schemes. I have Pharo 6 and the newest Voyage

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-04-30 Thread Holger Freyther
> On 30. Apr 2017, at 11:18, Mark Rizun wrote: > > > > Sorry, I wasn't very accurate in previous email. > Actually, my friend is using MongoTalk/Voyage, and she encountered a problem > that it is not possible to work with databases created in 3.0+ versions of > MongoDB. > Probably this is

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-04-30 Thread Mark Rizun
oh? Is that written somewhere in the Voyage documentation? Sorry, I wasn't very accurate in previous email. Actually, my friend is using MongoTalk/Voyage, and she encountered a problem that it is not possible to work with databases created in 3.0+ versions of MongoDB. Probably this issue is relat

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-04-30 Thread Holger Freyther
> On 30. Apr 2017, at 10:47, Mark Rizun wrote: > > Hi, Hi! > Holger, thank you, I will try your suggestion. > However, I use MongoDB 3.4, and I think that Voyage has support for only > versions under 3.0. Am I right? oh? Is that written somewhere in the Voyage documentation? The MongoDB wi

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-04-30 Thread Mark Rizun
Hi, Holger, thank you, I will try your suggestion. However, I use MongoDB 3.4, and I think that Voyage has support for only versions under 3.0. Am I right? Stef, collection in mongo is a container for documents. For example, here three documents are inserted in collection "inventory": db.invento

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-04-30 Thread Stephane Ducasse
mark what is such collection? Stef On Fri, Apr 28, 2017 at 11:04 PM, Holger Freyther wrote: > > > On 28. Apr 2017, at 14:27, Mark Rizun wrote: > > > > Hi, > > Hi! > > > > Is it possible to retrieve data from Mongo collection if it was not > created > > via Voyage? > > Meaning that I do not ha

Re: [Pharo-users] Voyage - collecting data from Mongo

2017-04-28 Thread Holger Freyther
> On 28. Apr 2017, at 14:27, Mark Rizun wrote: > > Hi, Hi! > Is it possible to retrieve data from Mongo collection if it was not created > via Voyage? > Meaning that I do not have a class in Pharo that would correspond to said > collection (should I implement one?). Yes. But you probably nee

[Pharo-users] Voyage - collecting data from Mongo

2017-04-28 Thread Mark Rizun
Hi, Is it possible to retrieve data from Mongo collection if it was not created via Voyage? Meaning that I do not have a class in Pharo that would correspond to said collection (should I implement one?). Cheers, Mark -- View this message in context: http://forum.world.st/Voyage-collecting-dat