Advertisement
Guest User

Adrian

a guest
Apr 4th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             user_name = document.getElementById("user_name").value;
  2.             password = document.getElementById("pwd").value;
  3.             var user = {
  4.                 'sqlopt': 'select',
  5.                 'table': 'public.user',
  6.                 'to_select': [
  7.                     {
  8.                         'column': 'user_id'
  9.                     },
  10.                     {
  11.                         'column': 'current_location_id'
  12.                     },
  13.                     {
  14.                         'column': 'geomessage',
  15.                     }
  16.                 ],
  17.                 'conditions': [
  18.                     {
  19.                         'column': 'user_name',
  20.                         'data': user_name
  21.                     },
  22.                     {
  23.                         'column': 'password',
  24.                         'data': password
  25.                     },
  26.                 ]
  27.             };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement