Skip to main content

Home/ Arquitectura?/ Group items tagged slick

Rss Feed Group items tagged

Pablo Lalloni

Slick 2.0.0 - 0 views

  •  
    "These are the major new features added since Slick 1.0.1: A code generator that reverse-engineers the database schema and generates all code required for working with Slick. New driver architecture to allow support for non-SQL, non-JDBC databases. Table definitions in the Lifted Embedding use a new syntax which is slightly more verbose but also more robust and logical, avoiding several pitfalls from earlier versions. Table definitions (and their * projections) are not restricted to flat tuples of columns anymore. They can use any type that would be valid as the return type of a Query. The old projection concatenation methods ~ and ~: are still supported but not imported by default. In addition to Scala tuples, Slick supports its own HList abstraction for records of arbitrary size. You can also add support for your own record types with only a few lines of code. All record types can be used everywhere (including table definitions and mapped projections) and they can be mixed and nested arbitrarily. Soft inserts are now the default, i.e. AutoInc columns are automatically skipped when inserting with +=, ++=, insert and insertAll. This means that you no longer need separate projections (without the primary key) for inserts. There are separate methods forceInsert and forceInsertAll in JdbcProfile for the old behavior. A new model for pre-compiled queries replaces the old QueryTemplate abstraction. Any query (both, actual collection-valued Query objects and scalar queries) or function from Column types to such a query can now be lifted into a Compiled wrapper. Lifted functions can be applied (without having to recompile the query), and you can use both monadic composition of Compiled values or just get the underlying query and use that for further composition. Pre-compiled queries can now be used for update and delete operations in addition to querying. threadLocalSession has been renamed to dynamicSession and the corresponding methods have distinct names (e.g. w
Pablo Lalloni

Slick - Scala Language Integrated Connection Kit - Slick 1.0.0 documentation - 0 views

  •  
    Documentación de referencia de SLICK 1.0.0 (ex scalaquery) recientemente liberado. Pegarle una mirada.
Pablo Lalloni

Learning Slick - 1 views

  •  
    Un tutorial profundo de SLICK (ex-ScalaQuery, la librería de acceso a RDBMS type-safe que usamos en varios proyectos basados en scala incluyendo Navrel, etc.). Los que no conozcan SLICK/ScalaQuery deberían verlo aprovechando este nuevo material.
Pablo Lalloni

A Deeper Look at Reactive Streams with Akka Streams 1.0 and Slick 3.0 - Free E-Books | ... - 0 views

  •  
    "Reactive Streams is an engineering collaboration between heavy hitters in the area of streaming data on the JVM. With the Reactive Streams Special Interest Group, we set out to standardize a common ground for achieving statically-typed, high-performance, low latency, asynchronous streams of data with built-in non-blocking back pressure-with the goal of creating a vibrant ecosystem of interoperating implementations, and with a vision of one day making it into a future version of Java."
1 - 4 of 4
Showing 20 items per page