# How to create a SerializedLambda

**URL:** <https://discuss.kotlinlang.org/t/how-to-create-a-serializedlambda/8502>\
**Category:** Support\
**Created:** [July 9, 2018, 10:59pm UTC](https://discuss.kotlinlang.org/t/how-to-create-a-serializedlambda/8502 "2018-07-09T22:59:08Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![icr00](https://avatars.discourse-cdn.com/v4/letter/i/3ec8ea/32.png) [@icr00](https://discuss.kotlinlang.org/u/icr00)\
**Post date:** [July 12, 2018, 10:24pm UTC](https://discuss.kotlinlang.org/t/how-to-create-a-serializedlambda/8502/4 "2018-07-12T22:24:43Z")

</div>

Ok, sounds like this is a no go then.  
Is this a slight shortcoming in kotlin I wonder?  
JINQ uses an interpretation of the serialised lambda bytecode to generate dynamic SQL queries (like MS LINQ, although I suspect a different mechanism). There doesn’t seem to be any way to do this (interrogate the structure of an expression) in Kotlin.  
I wonder if there is anything planned…?

---

_[View the full topic](https://discuss.kotlinlang.org/t/how-to-create-a-serializedlambda/8502)._
