2. Lack of etiquette and manners is a huge turn off.
KnolX Etiquettes
Punctuality
Join the session 5 minutes prior to
the session start time. We start on
time and conclude on time!
Feedback
Make sure to submit a constructive
feedback for all sessions as it is
very helpful for the presenter.
Silent Mode
Keep your mobile devices in silent
mode, feel free to move out of
session in case you need to attend
an urgent call.
Avoid Disturbance
Avoid unwanted chit chat during
the session.
3. Our Agenda
01 What is Slick?
02 Features of Slick
03 How Slick works?
04 Setup
05 Demo
4. What is Slick?
● Slick is a library for type safe database queries.
● Unified session management.
● Fetch results without trouble.
● Requires Scala 2.10
5. Features of Slick
● Uses Scala Syntax
● No SQL injections
● Compile time safety
● Supports SQL queries
● Simple setup
● Handy just like Scala collections
7. How Slick works?
● Type-safe query feature is implemented with
Scala-to-SQL compiler.
● It can be very useful to run the compiler only
once per defined query.
● Compiled queries allow you to cache the
generated SQL for re-use.
8. How to setup Slick?
● Add dependency for database and Slick.
● Add database configuration
● Implement mapping for database table
● Querying