Re: upgrading MongoTalk
Annick Fron <[email protected]> Mon, 25 Sep 2023 12:15:32 +0200
| Newsgroups | gmane.comp.lang.smalltalk.vwnc |
|---|---|
| Message-ID | <[email protected]> |
Hi Charles, I have used the Mongotalk package for quite a while but MongoDB has changed its framework in version 5 or 6. There is a new update reflecting this change in the pharo GitHub dating from only a couple of days. Good news ! I am willing to port it to VW, would you help me for that ? Best regards Annick Fron Le 24 sept. 2023 à 18:23, Charles Monteiro <[email protected]> a écrit : > > hi, I tried MongoTalk against the default install of Mongo on Ubuntu 22 and it fails with this: > > Unsupported OP_QUERY command: create. The client driver may require an upgrade. For more details see https://urldefense.com/v3/__https://dochub.mongodb.org/core/legacy-opcode-removal__;!!DZ3fjg!6dohT6vF_CXK-FNpunTUy0NL6VVxxcFmimxV3pynrCSp7IUHwLKlT4GQtOxUTzyNOo0RygazazOgXflWJmdoIQ$ <https://urldefense.com/v3/__https://dochub.mongodb.org/core/legacy-opcode-removal__;!!DZ3fjg!_4DSXXM4m_QEuDazugB7NSjNb7pasvfrNGwWawdXZbBIMeTBi20cWWkoQGlhSU_vxsiNYpSaueghcmd-YGk4FUdSSoEQzOrOxQ$>' > > I'm interested in helping upgrading it but I am swamped and wondered if just a quick write up by those knowledgeable of this driver is available or possible :) > > with other drivers I have played with i.e. in other languages as well but possibly Pharo if if I recall , the binding usually amounted to passing a json to the runCommand > > e.g. > > db.runCommand( { hello: 1 } ) > > and so for example above the issue might simply be that "create" i.e. that token > is not supported and is now is just something else which would be great > > I have simple needs to Mongo ie. your typical CRUD > so perhaps there's not much lifting to get MongoTalk up to enough snuff to make > that work > > thanks > > -- > Charles A. Monteiro >