Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

69
Views
Select in sqlite with Javascript

i have this code to make a sqlite query:

db.transaction(function (tx))
{
   tx.executeSql("Select * from DatosRemito where idoperador like " + obj.vac_user_id, [], OnSucess, OnError)
});

i have this error Message in my OnError Function when i try to execute my query:

the first line shows me the content in "obj.vac_user_id" variable enter image description here

what do i am doing bad?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Maybe you have missed out quotes, your variable is a string:

tx.executeSql("Select * from DatosRemito where idoperador like '" + obj.vac_user_id + "'", [], OnSucess, OnError)
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!