Recent Changes

Updates since 1970-01-01 00:00 UTC

(for 2020-08-03_Look_up_a_global_variable_in_the_database_in_Node.js only)

1 | 3 | 7 | 30 | 90 days
List latest change per page only List only major changes
List later changes RSS RSS with pages RSS with pages and diff

2020-08-03

  • 14:55 UTC (new) 2020-08-03 Look up a global variable in the database in Node.js . . . . mbork Today I encountered an interesting problem. Assume that you want a global constant in your Node.js backend, but its actual value is to be taken from a database. This means that fetching the constant should be done asynchronously. Unless you use Node.js 14.3.0 or newer (which as the time of me writing this is not yet ubiquitous), you cannot await your database request at the top level

More...

Filters