Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
aec5dc8c49 | |||
5ac338d8b7 | |||
e97e198f75 | |||
aa563fa7e7 |
@ -14,7 +14,7 @@ buildscript {
|
||||
}
|
||||
|
||||
group = "ru.landgrafhomyak.db"
|
||||
version = "0.1"
|
||||
version = "0.2"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -34,12 +34,6 @@ xomrk {
|
||||
dependencies {
|
||||
}
|
||||
}
|
||||
|
||||
jvmMain {
|
||||
dependencies {
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -8,5 +8,8 @@ public class Column(
|
||||
) {
|
||||
public constructor(table: Table, name: String, type: String) : this(table, name, type, type)
|
||||
|
||||
override fun toString(): String = this.name
|
||||
public val asSqlReference: String = "\"${this.name}\""
|
||||
public val asSqlString: String = "\'${this.name}\'"
|
||||
|
||||
override fun toString(): String = this.asSqlReference
|
||||
}
|
@ -37,6 +37,9 @@ public class Namespace(
|
||||
}
|
||||
|
||||
public companion object {
|
||||
public val ROOT: Namespace = Namespace("", arrayOf())
|
||||
@Deprecated("Root namespace isn't global object, so you need to create it again each time you use it", replaceWith = ReplaceWith("this.newRootNamespace()"))
|
||||
public val ROOT: Namespace get() = this.newRootNamespace()
|
||||
|
||||
public fun newRootNamespace(): Namespace = Namespace("", arrayOf())
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user