Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Latest commit

 

History

History
16 lines (9 loc) · 1.07 KB

File metadata and controls

16 lines (9 loc) · 1.07 KB

What is Mapless?

MapLess is a micro-ORM library that map database result1 to interfaces.

It been said that Data Access Layer should only expose interfaces that map to database result, and this is what this library do.

Interfaces defined for mapping can be implemented by user or implemented dynamically and fear not; the caching mechanism inside MapLess makes the execution as fast as if you implemented them by yourself.

The mapping time for 100,000 records with 41 columns of different types is in range of 700 milliseconds to 1.3 second2.

The internal implementation for interfaces is optimized for each interface and that lead to small object size at runtime - in other words each interface with its dependencies has its own concrete.


1A database result is any result produced from executing a statement against database.

2This time is data mapped to properties excluding fetch time.