J
J
Jumandjilos2018-06-03 18:36:31
MongoDB
Jumandjilos, 2018-06-03 18:36:31

How to implement the output of information from the database?

Folks, I created the page with PUG. On this page there will be a description of the game, there are 3 such games in total. As I understand it, it would be more correct to take information from the database, so maybe someone has a code example of how to enter information into the database, and then get it from there, and based on it render the page? I hope I explained clearly) Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Chronic 86, 2018-06-03
@chronic86

Hmm, if there are only 3 games, then give such content as static content. Or explain why to complicate? Recoil with static will be faster. A database is needed to store related information to facilitate searching through it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question