This file contains 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
TypeError: Object function (options, callback) { | |
options = options || {}; | |
var collection = null, | |
mongoStore = Store.prototype, | |
url = getConnectionURL(options, callback), | |
details = parseConnectionURL(url), // mongodb 0.7.9 parser is broken, this fixes it | |
db = new mongo.Db(details.dbname, new mongo.Server(details.host, details.port, options)), |
This file contains 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
import uuid | |
from datetime import datetime | |
from cqlengine import columns | |
from cqlengine.models import Model | |
from cqlengine import connection | |
from cqlengine.management import sync_table | |
class UserModel(Model): | |
id = columns.UUID(primary_key=True, default=uuid.uuid4) |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<rexster> | |
<http> | |
<io-strategy>leader-follower</io-strategy> | |
</http> | |
<rexster-server-port>8182</rexster-server-port> | |
<rexster-server-host>0.0.0.0</rexster-server-host> | |
<rexster-shutdown-port>8183</rexster-shutdown-port> | |
<rexster-shutdown-host>127.0.0.1</rexster-shutdown-host> | |
<rexpro-server-port>8184</rexpro-server-port> |