Closed acekingke closed 7 years ago
when I use orm2 like this: db.sync(function(err) { .... }; console.log("exit the progrm");
the program is block , cannot return .
You appear to be missing a bracket. As it's a network operation, the only reason for it blocking would be the process crashing.
Block the program
when I use orm2 like this: db.sync(function(err) { .... }; console.log("exit the progrm");
the program is block , cannot return .