PreparedRegistrations.registerIfNeeded

If already registered, simply returns the cached Payload.

struct PreparedRegistrations(Payload)
Payload
registerIfNeeded
(
const(char[]) sql
,
Payload delegate
(
const(char[])
)
@safe
doRegister
)
out (info) { assert (!info.queuedForRelease); }
if (
isPreparedRegistrationsPayload!Payload
)

Meta