SwiftfuncSonicFoundationSonicFoundation.SQLExecution

execute

SonicFoundation.SQLExecution.execute<A, each B where A1: SonicFoundation.SQLColumnResult>(once: SonicFoundation.SQL, _: (repeat A1) async throws -> B1) async throws -> B1?

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

generic{}

ABA1B1

req{}

param{}

  1. 0once:
  2. 1_
    function(repeat A1) async throws -> B1asyncthrows
    • parampackExpansionrepeat A1
      • basegenericParameterA1
    • returnsgenericParameterB1

result{}

  • arggenericParameterB1