Support custom mappers for projections with more than 22 columns
See original GitHub issueIs it a normal behavior that for queries with a LEFT OUTER JOIN
, generated code does not give access to the custom mapper ?
Example :
select_news_with_picture_from_id:
SELECT *
FROM news
LEFT OUTER JOIN author ON news.authorId = author.id
WHERE
news.apiId = ?;
Generated code:
database.newsQueries.select_news_with_picture_from_id(newsId)
.asObservable()
.mapToOneNonNull()
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:23 (5 by maintainers)
Top Results From Across the Web
Support custom mappers for projections with more than 22 ...
We are moving from SqlDelight 0.7.1 and SqlDelight 1.1.3 doesn't serve well in case if we have at least one JOIN (around 25...
Read more >Custom mapping to nested case class structure in Slick (more ...
I'm trying to map a DB row with more than 22 columns to a case class tree. I'd rather not using HList as...
Read more >Spring Data JPA: Query Projections - Thorben Janssen
Use a DTO projection, which selects a custom set of database columns. It uses them to call a constructor and returns one or...
Read more >The best way to map a projection query to a DTO (Data ...
If you are only interested in a DTO projection, it's more efficient to select only the columns that are really needed by the...
Read more >Custom Columns Mapping - Dapper .NET - Medium
Custom mapping is the feature that Dapper offers to manually define, for each object, which column is mapped to which property.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s fixed in Kotlin 1.3.60, which is not released
“Abitrary Arity” is the name of my punk rock band