Posts by Bruno Santi • 58 points
3 posts
-
1
votes1
answer239
viewsA: SELECT WITH CAST OR CONVERT TO AN ILIKE USING SEQUELIZE
Hello, 1- The cast function should receive the column and the field of the bank and not the reference within the Node, so $productor1.code$ would not work. 2-The cast function should be called by…
-
2
votes1
answer1119
viewsA: JWT Token Refresh
Hello I suggest to make a Privateroute, so to each route called in the Routes would go by that Privateroute and there in you would call a method to renew the token. import { Route, Redirect } from…
-
0
votes1
answer63
viewsQ: Perform OR operation between two models in Sequelize
In my Proposal table I have two Foreign Keys that reference the same table(Producer), I need to make a Where to check if there is a producer with a document equal to the searched in one of these…