namedQuery - return getKey on insert

@KathyApplebaum
In system.db.runPrepUpdate with getKey=1, we can return the key inserted instead of the number of rows.
Can we do this with runNamedQuery ? (Ignition 7.9.X, Ignition 8.0?)

1 Like

Not at this time. Probably a good thing to suggest in the ideas forum. :slight_smile:

Actually, even better than the ideas portal, this feature is already in our backlog - though not attached to any particular version yet.

3 Likes

Hi!,

Is this feature being attached to a version in the near future?

Kind regards!

It is documented for the current version. It has been a long time, so I have no idea how long ago it was implemented.

Available since 8.0.3.

1 Like