#Querying databases

1 messages · Page 1 of 1 (latest)

meager summit
#

Maybe you should try first with getServerSideProps, to narrow it down. If that works but getStaticProps doesn't, then it's likely that getStaticProps gets invoked at a different time than you expect. Its documentation says it's for build time, not load time.

pure turret
#

I guess... I could try getServerSideProps... not exactly what I wanted, but OK if it works...

#

My friend... could you explain what is this? where does it come from? "@chiselstrike/api"

meager summit
#

Oh, that's just a different database. Doesn't apply to you if you use MongoDB.