121 Commits (8ec08337aa9280f8b8a9ca72ae76e4502fee5cd5)

Author SHA1 Message Date
barisusakli d0a0d02d31 mongodb list fix 11 years ago
psychobunny 60e74cc2c3 LTRIM support for mongo 11 years ago
barisusakli 3829019bfa removed optional params 11 years ago
barisusakli 8dce99250b final fix for #1884
fix mongo functions so they return correct data if duplicate keys are
passed. getObjects(['post:1', 'post:1'], callback) was only returning
one object.
11 years ago
barisusakli a3fecee781 removed console.log err check 11 years ago
barisusakli 89bb11a58c closes #1880 11 years ago
barisusakli d00740703b use the new $text query from mongo 2.6 11 years ago
barisusakli 37b73e1c02 cleaner mongo setRemoveRandom 11 years ago
barisusakli c3a9767bf6 late night optimizations
-isMemberOfSets returns true/false instead of 1/0
-when loading the posts of a topic only get the userdata for each user
once, before this commit if a topic had 10 posts from 2 different users
we were getting the user data for each user 5 times (drunk)
-getVoteStatusByPostIDs and getFavouritesByPostIDs no longer make
pids.length calls to the db, they use isMemberOfSets now
-getUserInfoForPost renamed to getUserInfoForPosts and doesnt make
uids.length calls to db, uses getMultipleUserFields instead
11 years ago
barisusakli e6d8e9c959 searchIndex callbacks 11 years ago
barisusakli fd12ec763a sortedSetsRemove
instead of calling sortedSetRemove() one at a time for each id remove
value from multiple sortedSets with one db call
11 years ago
barisusakli b7fcde446b proper score aggregation #1562 11 years ago
barisusakli 7585b72644 remove duplicates 11 years ago
barisusakli b32bb76429 #1562 11 years ago
barisusakli 746df87d89 upgrade tags to sorted set 11 years ago
Julian Lam e64c1bfec3 closed #1453 11 years ago
Julian Lam bab140c396 added pexpire and pexpireAt methods for redis and mongo. Added emoticons for leveldb (as per existing implementation by @psychobunny LOL) 11 years ago
barisusakli 6a1fa82b8b closes #1402 11 years ago
psychobunny 290e348851 move database helpers into their own files 11 years ago
psychobunny bba3df6802 moving db.close into the parent module 11 years ago
psychobunny 46b6a93e98 organizing mongo driver 11 years ago