Exposed
Exposed copied to clipboard
Kotlin SQL Framework
This is an experimental API to serialize DAO objects and ResultRows to JSON objects. Obviously not production-ready, but I'd like to gauge interest to see if it is worth pursuing...
**PostgreSQL DSL** Still Work in progress: more tests, docs in README, kotlin docs etc, test `insert with ON CONFLICT DO UPDATE ...` . Rather big Pull request I know, but...
Sorry for 7 commits in a single PR, however, I expect they could just land to the main branch as is, and creating 7 different PR and rebasing them 6...
Related issue: https://github.com/JetBrains/Exposed/issues/221 Use a `timestamp with timezone` to store `java.time.Instant` in UTC where possible; for MySQL use `timestamp` type which always stores data in UTC. Works in Progress.
This function does not require an `EntityClass` to accomplish the transform. Placing this outside of the `EntityClass` allows consumers to define transforms as extension functions. For example: ``` fun Column.asString()...
The table names are for some reason broken apart and then quotes logic is applied on each of those "subtokens". But table name should be treated atomically as dots are...
Introduce a separate new datetimetz type Existing datetime field was left untouched to avoid backward incompatibilities issues. MySQL doesn't actually have support for the type so a dummy/incomplete implementation was...
Hi Folks, I am trying to use Exposed with Transactions (Kotlin) and was thinking of using suspended transactions as listed here : https://github.com/JetBrains/Exposed/wiki/Transactions#working-with-coroutines. I have an use-case, wherein I read...