ktorm icon indicating copy to clipboard operation
ktorm copied to clipboard

A lightweight ORM framework for Kotlin with strong-typed SQL DSL and sequence APIs.

Results 116 ktorm issues
Sort by recently updated
recently updated
newest added

Since 3.24 SQLite supports [upsert like postgres does](https://www.sqlite.org/lang_UPSERT.html). Consider adding it to SQLite dialect?

enhancement

``` @Introspected data class EmployeeDTO( val id: Long, val name: String ) val result = database.from(Employees).select(EmployeeDTO::class) ``` This will reduce the boilerplate code that can be deducted from table schema....

enhancement

Schema example: ``` interface FinancialAccount : Entity { companion object : Entity.Factory() val accNumber: Long val finInst: FinancialInstitution? val finAccType: FinancialAccountType? } interface FinancialTransaction : Entity { companion object :...

enhancement

Any plans on the roadmap to support date addition, such as `mydateval + interval '7 days'` (postgres syntax)? A common use case is to purge records older than a certain...

enhancement

Hi, I'm attempting to use a `UNION` in a subquery, and that is leading to a syntax error when executing the query against a Sqlite backend. Based on attempting to...

bug

具体此类功能有实现了吗?能提供演示吗?感谢

enhancement

This request was hidden under another issue in [this comment](https://github.com/vincentlauvlwj/Ktorm/issues/45#issuecomment-533135132). I'm creating its own dedicated ticket. From the comment: > I was doing some reading on how people solve this...

enhancement

for example ` Ts.update { it.companyTaxNo to companyTaxNo where { it.userId eq userId and it.deleted eq false } } ` The format sql is 'where ((user_id=?) and is_deleted)=?'。 In mysql,...

enhancement

I tried hacking the code to do a computed column, but I didn't figure out how yet.

enhancement