Skip to content

Instantly share code, notes, and snippets.

@simerplaha
Last active February 8, 2020 13:41
Show Gist options
  • Save simerplaha/fe0c30848953d002c30e4b4d8e1dcd44 to your computer and use it in GitHub Desktop.
Save simerplaha/fe0c30848953d002c30e4b4d8e1dcd44 to your computer and use it in GitHub Desktop.
Creating a Map in SwayDB
import swaydb._ //swaydb's APIs
import swaydb.serializers.Default._ //default serialisers

val map = memory.Map[Int, String, Nothing, Bag.Less]().get //create a memory map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment