Posts by Daniel Dutra • 2,283 points
55 posts
-
1
votes1
answer1199
viewsA: Use FULL JOIN in Mysql
As @fleuquer-file said in the comments, you are creating 3 joins with the same table. Your sql should be equal to the question image, the first table garter with the second and the second table…
-
3
votes1
answer127
viewsA: Display alert if not connected to the internet
I believe that the solution using only Swift would be the code below: import Foundation import SystemConfiguration public class Reachability { class func isConnectedToNetwork() -> Bool { var…
-
4
votes2
answers286
viewsA: How to increment from 0 to 10 inside a Javascript setInterval
You can call clearInterval() after 10 calls: var x = 0; var intervalo = setInterval(function () { console.log(x); if (++x === 10) { window.clearInterval(intervalo); } }, 1000); If you want to avoid…
javascriptanswered Daniel Dutra 2,283 -
0
votes2
answers75
viewsA: How to pass an Array to the IN clause of a flat query?
Tried to make sure the end result was exactly "'1','2','3','4'"? Try using the Join like this: \'#{publications_to_read.join('\',\'')}\'.
-
2
votes2
answers466
viewsA: How to delete div by class name using Webbrowser?
You want to get an element by the class attribute, right? You need to create a method that does this for you. Just iterate all the elements of the html document by checking your classname attribute…