This example proposes only one single JavaScript function for:

Press the following button for calling the createDatabase() JavaScript function. Then look at the debugging console (with Chrome: F12 + Resources tab)

SSN:
Name:
Age:
Email: reminder, email must be unique (we declared it as a "unique" index)