I am building an OrientDB system which needs access to the OrientDB query language, much like Cypher is for Neo4j. I can't find any documentation for this however.
They have their github repo here:
https://github.com/orientechnologies/orientdb
And the database related documentation here:
https://github.com/orientechnologies/orientdb/wiki/SQL
Related
I have used "Mockaroo" to generate mock table data (in SQL format) for my postgreSQL projects. But now I am experimenting with Apache AGE (a graph database). I wanted to know if there is any website like mockaroo which let you generate mock graph data (in OpenCypher query format).
I didn't know whether this actually answers your question or not but you can try using Neo4j or Neo4j sandbox. Neo4j Sandbox is a web-based platform that allows you to create and experiment with Neo4j graph databases. It comes with several pre-built datasets that you can use to explore different graph use cases. Additionally, you can create your custom datasets using the built-in data generator, which supports generating data in OpenCypher query format.
Here is the GitHub repository. you can also download a desktop application using this link.
There are some tools for generating mock table data for Cypher query language, but they are not like Mockaroo in the sense of just accessing the website and freely creating different kinds of data easily. With these options, you might need to use python or make a new account on a website.
Neo4j Sandbox: Neo4j is a popular graph database management system that supports the Cypher query language. Neo4j provides a free sandbox environment where you can experiment with graph databases and use mock data to test your Cypher queries. https://neo4j.com/sandbox/
Graphgen: Graphgen is an open-source tool that can be used to generate random graph data. It allows you to define a schema and generate data that conforms to that schema using the Cypher query language. https://github.com/idea-iitd/graphgen
I started learning NestJS, by reading documentation. currently, I'm using the #nestjs/mongoose package for MongoDB. unforunatley I can't find any documentation about this package.
the only docs I found is this https://docs.nestjs.com/techniques/mongodb
however, it's missing lots of information, such as creating an index for the schema.
where can I find additional information? how people on stack overflow know some of the answers if they are not in the documentation
edit: I mean documentation of #nestjs/mongoose
#nestjs/mongoose mostly is a simple wrapper around mongoose for Nest's DI context. Nest does have additional decorators, like #Schema() and #Prop() to allow for creating a class based representation of the schema and then the SchemaFactory.createForClass method to create the schema object that mongoose will later use. Any properties you can normally set when creating a prop, as described in the mongoose documentation should be passable to the #Prop(). The Typescript types are there to help you, and should give you good intellisense on what is and isn't possible.
Other than that, the Nest team is slowly working on getting some API docs out, but it's a very large initiative that will take a lot of time.
Looking to build a react-native app and was going to use MongoDB Atlas for the database, express/apollo/graphql mixed in there for better querying. Has anyone had any experience with these techs together? especialy MongoDB Atlas and express?
I'm not sure how all these techs link together. Any tutorials will be handy as well. Thanks.
MongoDB Atlas provides you the endpoint where you can connect to the replica set and use mongodb.
This takes over many other factors such as installing mongodb, backups and restore. Also, the endpoint(connection string) provided by MongoDB Atlas comes with built-in:
Authentication enabled
Authorized users
Replica set to maintain HA
All of these factors give you advantages of using MongoDB Altas so that you can focus on developing your apps
Using mongodb atlas is likely to give you same things you would expect from your local mongodb and express with additional advantages listed above
If you're planning on using MongoDB and GraphQL in a NodeJs service in the interest of getting better querying capabilities, I'd suggest looking at GraphQL-to-MongoDB, or how I learned to stop worrying and love generated query APIs.
Disclaimer: I wrote that blog post.
MongoDB Atlas just announced GraphQL support for Atlas and Stitch. In a nutshell , you can easily generate/ create Schema for a collection in Atlas, Define access rules, relations and generate queries and mutations. GraphiQL is also integrated to run and test your queries. Check this blog post for more details - https://www.mongodb.com/blog/post/introducing-graphql-support-in-mongodb-atlas-with-stitch
I am having a requirement that i want to inserted the record into COUCHBASE using UNQL,Can any one suggest me how to connect COUCHBASE using UNQL.
Regards
Pradeep
Unql is an open project and a preview intended to help discussion on use cases for a query language with these newer databases. It's not included in any release of Couchbase at the moment.
See couchbase.com/develop for info on how to insert data, etc.
I am trying to use OrientDB to perform gremlin queries through a select statement. I'm sure I saw a tutorial doing just this using the movies example from the demo database. However, I have read through so much documentation on the DB that I can't for the life of me find it now. Does anybody have a link to it?
Maybe the tutorial that you are looking for is this one
http://markorodriguez.com/2011/09/22/a-graph-based-movie-recommender-engine/
is not with orientdb but neo4j.
Since both support gremlin and orientdb is 100% compilant with blueprints the tutorial is applicable to it.
You can find a list of presentations here