Something like this:
Code: Select all
resources.ResourceName.insert();
var KeyID = last_inserd_id;
ID is generated with MySQL auto increment.
Moderators: Jon, Steve, Ian, Dave
Code: Select all
resources.ResourceName.insert();
var KeyID = last_inserd_id;
Code: Select all
Debug: Debug for database resource dbAddress - SQL statement:
Debug: insert into ADDRESSES (POSTCODE_NUMBER,STREET,NUMBER,POSTCODE_LETTERS,EXTRA) values (?,?,?,?,?)
Debug: parameter1 : value 1000
Debug: parameter2 : value Postbus
Debug: parameter3 : value 1
Debug: parameter4 : value AA
Debug: parameter5 : value null
Debug: End execution of command - insert : 11:01:04.655
Info : ** END EXECUTION OF RESTFUL WEB SERVICE getAddressNL using endpoint: byPostcodeNumber **
Users browsing this forum: Google [Bot] and 40 guests