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:

Examples
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.