diff --git a/docs/client.md b/docs/client.md index 3518d9d8..53399267 100644 --- a/docs/client.md +++ b/docs/client.md @@ -72,7 +72,7 @@ The parameters for the `callback` argument: Example: ```js -var bins = { itemsShopped: 5} +var bins = {itemsShopped: 5} client.add(key, bins, function(error, record, metadata, key) { // do something diff --git a/docs/configuration.md b/docs/configuration.md index 3a9381c0..a804fa70 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -28,7 +28,7 @@ var config = { }, modlua: { systemPath: 'path to system UDF files', - userPath: ' 'path to user UDF files' + userPath: 'path to user UDF files' } }; diff --git a/docs/filters.md b/docs/filters.md index b26400f7..fa077deb 100644 --- a/docs/filters.md +++ b/docs/filters.md @@ -8,10 +8,11 @@ Example: ```js var filter = aerospike.filters -var queryArgs = { filters = [ - filter.equal('a', 'hello') - ] -} +var queryArgs = { + filters: [ + filter.equal('a', 'hello') + ] +}; client.query(ns, set, queryArgs) ```