bookmark

Action executed in 0.000
●●●●●○○○

Edward Bramanti - Are you serial, Promise.all?

bcd-alt-text

About a month ago, I came across an interesting problem at work where a database migration with Knex was not working properly. An example similar to the actual problem is shown below:

The first promise renames a table from tomatoes to potatoes. The following promise adds the string column name to the newly renamed table potatoes. While there may seem to be nothing wrong here, this code resulted in an error, saying the table potatoes did not exist.

url: https://bramanti.me/are-you-serial-promise-all/

type: article, format: blog

Comments

none yet

Post a Comment

* indicates a required field
anonymous (If you want to identify yourself, please sign in first.)
required This field is required.

Max size is 2 MB, aspect ratio 3:4 width:height
required This field is required.
Please include a short description.
required This field is required.

480 characters remaining.
is public

(Use this field if you have to. 3000 characters remaining.)
1 quarter + 100

Trackback URL

http://derocher.org/~brian//trackback.php?ParentId=105483

form