You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(node:5317) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
(node:5317) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
It's doesn't work because I know in sqlagent/mongodb.js, I can't adding more options.
I've seen that function connect is (conn, callback), no options in there.
Hi @aalfiann, thank you very much (for pull request)... Currently I don't know how to update it. We need to obtain a MongoDB version because of backward compatibility. I'll look into it tomorrow.
This sqlagent can be work as nosql embedded. But I don't know how to achieve this. Actually I want to use mongodb but having feature like in databasebuilder.
Hi, I have fixed MongoDB. Can you test it? Just download source-code from this repository and copy it to yourproject/node_modules/sqlagent and test your project.
BTW: joins ... it's a bit complicated and I don't use SQL Agent module because I have written a better + much simpler module called DBMS() and it works only with Total.js framework. But there there isn't updated MongoDB driver yet. https://wiki.totaljs.com/dbms/01-welcome/
Activity
[-]MongoDB Deprecated[/-][+]MongoDB Deprecation warning[/+]aalfiann commentedon Sep 9, 2019
I've fixed with little modification in
mongodb.js.with adding this function
So that I'm able to set the options like this
aalfiann commentedon Sep 9, 2019
Another Deprecation Warning is :
INSERT
SAVE
UPDATE
DELETE
For this time I could ignore this warning.
petersirka commentedon Sep 9, 2019
Hi @aalfiann, thank you very much (for pull request)... Currently I don't know how to update it. We need to obtain a MongoDB version because of backward compatibility. I'll look into it tomorrow.
aalfiann commentedon Sep 10, 2019
Thank you so much..
I will waiting for the next update. :D
Btw, why builder.join and builder.group not support for mongodb? That is very important feature for me.
I've read in https://docs.totaljs.com/latest/en.html#api~Database
This sqlagent can be work as nosql embedded. But I don't know how to achieve this. Actually I want to use mongodb but having feature like in databasebuilder.
petersirka commentedon Sep 10, 2019
Hi, I have fixed MongoDB. Can you test it? Just download source-code from this repository and copy it to
yourproject/node_modules/sqlagentand test your project.BTW: joins ... it's a bit complicated and I don't use SQL Agent module because I have written a better + much simpler module called
DBMS()and it works only with Total.js framework. But there there isn't updated MongoDB driver yet. https://wiki.totaljs.com/dbms/01-welcome/aalfiann commentedon Sep 11, 2019
I've already test the update and I can confirm this issue is fixed.
Thank you very much.
Btw, I've read all the documentation about
DBMS(), It's definitely very powerful because builder.join support multiple of database engine.You have to update the MongoDB driver for
DBMS(). I'll make some test in my project while waiting for the update. :D