@@ -74,6 +74,20 @@ public struct InsertFooReturningFooInput: Hashable, Sendable {
7474 public let dateWithAdapterNotNull: Date
7575 public let dateWithAdapterNullable: Date?
7676 public let dateWithCustomAdapter: Date?
77+
78+ public init(
79+ textNotNull: String,
80+ textNullable: String?,
81+ dateWithAdapterNotNull: Date,
82+ dateWithAdapterNullable: Date?,
83+ dateWithCustomAdapter: Date?
84+ ) {
85+ self.textNotNull = textNotNull
86+ self.textNullable = textNullable
87+ self.dateWithAdapterNotNull = dateWithAdapterNotNull
88+ self.dateWithAdapterNullable = dateWithAdapterNullable
89+ self.dateWithCustomAdapter = dateWithCustomAdapter
90+ }
7791}
7892
7993public struct InsertFooReturningFooOutput: Hashable, Sendable, RowDecodableWithAdapters {
@@ -123,11 +137,27 @@ public struct InsertFooReturningFooOutput: Hashable, Sendable, RowDecodableWithA
123137public struct InsertBarReturningIntPkInput: Hashable, Sendable {
124138 public let customNameIntPk: Int
125139 public let barNotNullText: String
140+
141+ public init(
142+ customNameIntPk: Int,
143+ barNotNullText: String
144+ ) {
145+ self.customNameIntPk = customNameIntPk
146+ self.barNotNullText = barNotNullText
147+ }
126148}
127149
128150public struct InsertBarReturningExtraColumnInput: Hashable, Sendable {
129151 public let intPk: Int
130152 public let barNotNullText: String
153+
154+ public init(
155+ intPk: Int,
156+ barNotNullText: String
157+ ) {
158+ self.intPk = intPk
159+ self.barNotNullText = barNotNullText
160+ }
131161}
132162
133163public struct InsertBarReturningExtraColumnOutput: Hashable, Sendable, RowDecodable {
@@ -212,11 +242,27 @@ public struct BothColumnsShouldNotBeNullableOutput: Hashable, Sendable, RowDecod
212242public struct SelectWithManyInputsInput: Hashable, Sendable {
213243 public let intPk: Int
214244 public let textNotNull: String
245+
246+ public init(
247+ intPk: Int,
248+ textNotNull: String
249+ ) {
250+ self.intPk = intPk
251+ self.textNotNull = textNotNull
252+ }
215253}
216254
217255public struct InputContainsArrayInput: Hashable, Sendable {
218256 public let intPks: [Int]
219257 public let barNotNullText: String
258+
259+ public init(
260+ intPks: [Int],
261+ barNotNullText: String
262+ ) {
263+ self.intPks = intPks
264+ self.barNotNullText = barNotNullText
265+ }
220266}
221267
222268public struct QueriesQueries: PureSQL.ConnectionWrapper, Sendable {
0 commit comments