This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var username = 'username'; | |
r.db('x').table('users').getAll('username', {index: 'username'}).merge(function(user){ | |
return {posts: r.table('posts').getAll('username', {index: 'username'}).coerceTo('ARRAY')}; | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Sample army storage for Ressel:Arena | |
#include <iostream> | |
#include <list> | |
#include <string> | |
using namespace std; | |
// Setting up the Node data structure, in this case a clone of "soldier" | |
// From the Ressel:Arena game.. |