Skip to content

jlous/fluent-template-kotlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fluent-template-kotlin

Friendly kotlin wrapper around NamedParameterTemplate from Spring-jdbc.

NOT intended to be a query builder - still based on free-form SQL for max flexibility and familiarity.

Goals

  • Encourage naming SQL params by making it the most straightforward way to code queries
  • Replace the cluttered API of NamedParameterTemplate with a clearer and more readable one
  • Design the API specifically to leverage code-completion for feature discovery and ease of authoring
  • Enable client code that expresses intent as clearly as possible - within practical limits

License

The MIT License (MIT)

Copyright © 2021 Joachim Lous

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Fluent wrapper for Spring jdbc templates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages