vlang / mongo

Official MongoDB driver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running the example

hubyhuby opened this issue · comments

I am newbe to V, trying to run the exemple I get the following :
" error: cannot use &string as &char in argument 2 to C.bson_oid_to_string "

image

Tried with the one line patch #6 :
image

Almost there ;) It works until I need "BSON"
image
I have the libs on my ubuntu mate 20.04
image
image

image

Did you find any solution for this?

You ca try new version v up && v install mongo

Did you find any solution for this?

You ca try new version v up && v install mongo

Now the example seems to work on my side with ubuntu 22.04 packages and updating V command as you suggested
image