A sample project for getting started with ScalaQuery
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 35 commits behind slick:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
project
src/main/scala/org/scalaquery/examples
.gitignore
LICENSE.txt
README.txt
build.sbt

README.txt

This project should help you get started with ScalaQuery <http://scalaquery.org>.

You only need a JRE and sbt 0.11 <http://code.google.com/p/simple-build-tool/> installed.

1. Clone this project (or download it manually from
<https://github.com/szeiger/scalaquery-examples/archives/master>):

> git clone git://github.com/szeiger/scalaquery-examples.git

2. Run it with sbt:

> cd scalaquery-examples
> sbt update
> sbt run

All examples can be run as normal applications. "sbt run" will give you a menu
of all available examples:

* FirstExample: Start with this if you are new to ScalaQuery. It creates two
  tables, inserts some data and performs a number of queries.

* MultiDBExample: Shows how to write portable code based on a ScalaQuery
  profile and run it against different DBMSs.

* UseInvoker: Shows various ways of reading data from an Invoker.

* CallNativeDBFunction: Shows how to use a database function which is not
  provided by the ScalaQuery driver.