dbNotExists.js 356 B

1234567891011121314
  1. /*
  2. Try to access a not existsing database table
  3. */
  4. var results = readDBItem("lkasdjqiofnqwejkfniw", "dummy");
  5. if (results == false){
  6. sendResp("Table not found")
  7. }else{
  8. //If the code reach here that means the system has crashed or you
  9. //really have a table named "lkasdjqiofnqwejkfniw"
  10. sendResp("Something went wrong! " + results)
  11. }