Fix/function with same name #34
@@ -63,7 +63,6 @@ class Requester(
|
|||||||
|
|
||||||
fun getQuery(path: String): Query = queries[path] ?: throw NoQueryDefined(path)
|
fun getQuery(path: String): Query = queries[path] ?: throw NoQueryDefined(path)
|
||||||
|
|
||||||
|
|
||||||
fun <A> inTransaction(block: Requester.() -> A?): A? = connection.inTransaction {
|
fun <A> inTransaction(block: Requester.() -> A?): A? = connection.inTransaction {
|
||||||
this@Requester.block()
|
this@Requester.block()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -76,4 +76,3 @@ class Function(
|
|||||||
return other.script != this.script
|
return other.script != this.script
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user