Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Compare: Mongodb adapter

Showing with 2 additions and 2 deletions.
  1. +2 −2 Mongodb-adapter.md
View
4 Mongodb-adapter.md
@@ -18,8 +18,8 @@ The option for db_read_mode allows for reading from the slaves vs. reading from
Keep in mind that depending on the location of the slaves it might be that you're getting old data.
If you NEED 100% accurate data on read, use "master" instead of "slave_ok".
-The adapter considers lists of integers and binaries as strings, so passing it values such as @"hello"@ or @<<"hello">>@ will result in a string object being stored in your database. If you actually need to store lists of integers, you will need to wrap them in a tagged tuple such as @{integers, [1,2,3]}@ so that the adapter knows you really want to store a list of integers and not a string. A similar tuple will be returned when reading back from the database.
+The adapter considers lists of integers and binaries as strings, so passing it values such as **"hello"** or **<<"hello">>** will result in a string object being stored in your database. If you actually need to store lists of integers, you will need to wrap them in a tagged tuple such as **{integers, [1,2,3]}** so that the adapter knows you really want to store a list of integers and not a string. A similar tuple will be returned when reading back from the database.
-Raw queries can be made using @execute/2@ for things like MapReduce.
+Raw queries can be made using **execute/2** for things like MapReduce.
TODO: add raw queries examples.
Something went wrong with that request. Please try again.