How to use the createQuery function from mysql

Find comprehensive JavaScript mysql.createQuery code examples handpicked from public code repositorys.

111
112
113
114
115
116
117
118
119
120
    t.end()
  })
  var sql = 'SELECT 1 + 1 AS solution'
  factory(function () {
    agent.startTransaction('foo')
    var query = mysql.createQuery(sql, basicQueryCallback(t))
    queryable.query(query)
    t.equal(agent.currentSpan, null, 'mysql span should not bleed into calling code')
  })
})
fork icon213
star icon539
watch icon0

+ 7 other calls in file