Skip to content

Commit f1434ff

Browse files
authored
Fix return type of insertOne
1 parent 8279c24 commit f1434ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tink/sql/Table.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class TableSource<Fields, Filter:(Fields->Condition), Row:{}, Db>
8484
ignore: if (options == null) false else options.ignore
8585
}));
8686

87-
public function insertOne(row:Insert<Row>, ?options): Promise<Id<Db>>
87+
public function insertOne(row:Insert<Row>, ?options): Promise<Id<Row>>
8888
return insertMany([row], options);
8989

9090
public function update(f:Fields->Update<Row>, options:{ where: Filter, ?max:Int })
@@ -175,4 +175,4 @@ class TableSource<Fields, Filter:(Fields->Condition), Row:{}, Db>
175175
abstract TableName<Row>(String) to String {
176176
public inline function new(s)
177177
this = s;
178-
}
178+
}

0 commit comments

Comments
 (0)