www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - vibe.d + mongoDB

reply seany <seany uni-bonn.de> writes:
Hi I am googling to find some vibe.d and mongoDB tutorial. Are 
their some available? Thank you
Jan 20 2023
next sibling parent Ben Jones <fake fake.fake> writes:
On Friday, 20 January 2023 at 18:58:16 UTC, seany wrote:
 Hi I am googling to find some vibe.d and mongoDB tutorial. Are 
 their some available? Thank you
There's a couple of examples like this one in main vibe repo in the examples directory: https://github.com/vibe-d/vibe.d/tree/master/examples/mongodb When I used it recently, I ran into some issues where upsert operations I wanted to do had changed their wire format in mongo 5 (I think), so I had to use run mongo 4 I'm not aware of any larger tutorials
Jan 20 2023
prev sibling parent Ruby The Roobster <rubytheroobster yandex.com> writes:
On Friday, 20 January 2023 at 18:58:16 UTC, seany wrote:
 Hi I am googling to find some vibe.d and mongoDB tutorial. Are 
 their some available? Thank you
There is a nice book, titled D Web Development, that despite being 6 years old, is still mostly applicable to using vibe.d. The only archaic thing in the book is the use of the ```shared static this``` module constructor, which no longer works, and should be replaced by the main() function.
Jan 20 2023