Exposed
Exposed copied to clipboard
Kotlin SQL Framework
I assume it should be added as a parameter to `dateTime` column builders. Seems different vendors have different defaults so I assume the default should be something that signifies the...
Similarly to #1053 it would be nice to be able to specify precision for numeric columns also. Mostly the use case is that without being able to specify our table...
exposed-core:0.31.1 ``` java.lang.IllegalStateException: NULL in non-nullable column at org.jetbrains.exposed.sql.IColumnType$DefaultImpls.valueToString(ColumnType.kt:48) at org.jetbrains.exposed.sql.ColumnType.valueToString(ColumnType.kt:74) at org.jetbrains.exposed.sql.QueryBuilder$registerArguments$1.invoke(Expression.kt:69) at org.jetbrains.exposed.sql.QueryBuilder.registerArguments(Expression.kt:72) at org.jetbrains.exposed.sql.QueryBuilder.registerArgument(Expression.kt:63) at org.jetbrains.exposed.sql.QueryBuilder.registerArgument(Expression.kt:58) at org.jetbrains.exposed.sql.statements.UpdateStatement.arguments(UpdateStatement.kt:26) at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:31) at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:129) at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:115) at org.jetbrains.exposed.sql.statements.Statement.execute(Statement.kt:28) at...
Hi there, I have an entity that has a `DateTime` field (createdAt). I try to keep that field with a specific timezone, `UTC`. To do that, I ensure that I...
I was able to reduce boilerplate to something like ``` val isDeleted = customEnumeration( "isDeleted", getEnumSql(), getEnumFunc(), getEnumToStringFunc() ``` or even better this: ``` val isDeleted = getEnum("isDeleted") ``` with...
I have following two tables. I would like to specify an additional amount per entry for the join table PartToPart. My intention is to create a graph of the different...
For many-to-many relations, the creation of bridging tables is often necessary. In some cases, these relations may require some extra data. To use the wiki example: ``` kotlin // create...
[EXPOSED-454](https://youtrack.jetbrains.com/issue/EXPOSED-454/add-execute-alter-table-ddl-log-on-createMissingTablesAndColumns-function) - add alter table statements log on createMissingTablesAndColumns function
Sometimes it is suitable to use custom types as table ids (however test example is synthetic). Right now a lot of operations fail with exception: ``` Can't infer the SQL...
As title says. The purpose would be to integrate with services like AWS RDS Data API