{"repo":"scalikejdbc/scalikejdbc","free":true,"listed":false,"github":"https://github.com/scalikejdbc/scalikejdbc","clone":"git clone https://github.com/scalikejdbc/scalikejdbc.git","description":"A tidy SQL-based DB access library for Scala developers. This library naturally wraps JDBC APIs and provides you easy-to-use APIs.","language":"Scala","stars":1281,"topics":["scala","database","postgresql","mysql","h2","jdbc"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"ScalikeJDBC Just Write SQL And Get Things Done 💪 ScalikeJDBC seamlessly wraps JDBC APIs, offering intuitive and highly flexible functionalities. With QueryDSL, your code becomes inherently type-safe and reusable. This library is not just practical; it’s production-ready. Utilize this library confidently in your real-world projects. Getting Started Simple Database Library If you're looking to execute SQL queries efficiently, the best approach is to use ScalikeJDBC along with the appropriate JDBC driver for your database. Here’s how you can get started quickly! Dependencies To get started with ScalikeJDBC, add the following dependency to your build.sbt : If you're a Play Framework user, take a look at play-support project, too: https://github.com/scalikejdbc/scalikejdbc-play-support Quick Example Here’s a quick example to get you up and running: Rich O/R Mapper For those who require more robust functionalities, consider using scalikejdbc-orm . This extension is an O/R mapper built on top of the ScalikeJDBC core library, drawing significant inspiration from Ruby on Rails' ActiveRecord library. Efficient Data Fetching with Join Queries / Eager Loading One of the standout features of scalikejdbc-orm is its ability to efficiently handle data associations, effectively eliminating the common N+1 query problem. This is achieved through the smart use of join queries in resolving associations like #belongsTo , #hasOne , and #hasMany/#hasManyThrough . These are processed behind the scen","default_branch":null,"files":null,"tree":[],"storefront":"/r/scalikejdbc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/scalikejdbc/scalikejdbc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}