Jint Commands: Difference between revisions

From Data Islands
(Created page with "This page references all the commands available when in Jint mode the "di" object is the wrapper for the console Javascript integration. Commands: # di.connect("usernamae","password") # di.addserver("servertype","servername","username","password") # di.deleteserver(index,"y") # di.servers() # di.dbtables() # di.describe("tablename") # di.describeisland("islandname") # di.addregion("regionname") # di.regions() # di.deleteregion() # di.islands() # di.clearisland("is...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 19: Line 19:
# di.deleteisland("islandname")
# di.deleteisland("islandname")
# di.querydb("sql_query")
# di.querydb("sql_query")
# di.push("islandname")
# di.push("islandname") - see JINT section on [[Push]]
# di.("islandname")
# di.("islandname")
# di.status()
# di.status()
Line 48: Line 48:
# di.logout("y/n")
# di.logout("y/n")


----


coming soon
If you need a system to "pause" or wait (maybe due to API rate limiting) then this function is useful to include and call from your script.


di.updateisland("islandname","columns")
<nowiki>


di.adduser("username", "scope")
function sleep(ms) {
 
var start = Date.now();
di.invite("email_address")
while (Date.now() - start < ms) {
// busy wait
}
}
</nowiki>

Latest revision as of 14:05, 28 August 2025

This page references all the commands available when in Jint mode

the "di" object is the wrapper for the console Javascript integration.

Commands:

  1. di.connect("usernamae","password")
  2. di.addserver("servertype","servername","username","password")
  3. di.deleteserver(index,"y")
  4. di.servers()
  5. di.dbtables()
  6. di.describe("tablename")
  7. di.describeisland("islandname")
  8. di.addregion("regionname")
  9. di.regions()
  10. di.deleteregion()
  11. di.islands()
  12. di.clearisland("islandname")
  13. di.deleteisland("islandname")
  14. di.querydb("sql_query")
  15. di.push("islandname") - see JINT section on Push
  16. di.("islandname")
  17. di.status()
  18. di.listdb()
  19. di.usedb("databasename")
  20. di.help()
  21. di.clear()
  22. di.logging("on")
  23. di.language("en")
  24. di.wizards()
  25. di.wizard(wizard_index)
  26. di.notifyme("mail subject","mail body")
  27. di.notifyteam("mail subject","mail body")
  28. di.version()
  29. di.update()
  30. di.access()
  31. di.removeuser("user_name")
  32. di.watchregion()
  33. di.unwatchregion()
  34. di.pull("islandname","destination_name")
  35. di.import("islandname","destination_name")
  36. di.runexe("full_file_path")
  37. di.nativesql("sql_query")
  38. di.deleteaccount()
  39. di.geolocation("code")
  40. di.limitip("ip_address")
  41. di.reset("y/n")
  42. di.logout("y/n")

If you need a system to "pause" or wait (maybe due to API rate limiting) then this function is useful to include and call from your script.

 

	function sleep(ms) {
		var start = Date.now();
		while (Date.now() - start < ms) {
			// busy wait
		}
	}