Golang update existing file in mongodb -
i have created api receive , save files mongodb,my api based on golang , using mgo work mongodb, mgo documentation says files exists can not update, in app there function receive chunked files , should write on file. have googled , have not found solution, links or articles helpful
i don't know saw in mgo documentation can absolutely update documents in mongo using mgo, evidenced mgo documentation, particularly functions update
, updateid
, updateall
, upsert
, , upsertid
.
Comments
Post a Comment