Page tree
Skip to end of metadata
Go to start of metadata

This method releases a locked record.

This is only supported with the IBM i database and not using SQL.

Exception Handling

An Error instance will be thrown with the following properties:

  • message - The message text.
  • error - The message id.
  • help - The message help text.
Examples
Unlock record
pjs.defineTable("myfile", { keyed: true, read: true, update: true });
myfile.fetchNext(); // First record locked
myfile.unlock();


RPG Equivalent

UNLOCK

Requirements

This API requires the Profound.js Connector module.