PostGraphile (formerly PostGraphQL) builds a powerful, extensible and performant GraphQL API from a PostgreSQL schema in seconds; saving you weeks if not months of development time. PostGraphile is formed of three layers. At the very top is the PostGraphile CLI. This layer is the most user-friendly and is responsible for three things: accepting common options from …
DBeaver, professional multi-platform database administration tool
Have you ever suffered with lack of database administration tool? Slow web based UI? No same tool for macOS, windows and Linux? No tool at all? DBeaver is free and open source universal database tool for developers and database administrators. Usability is the main goal of the project, program UI is carefully designed and implemented. …
Yet another way to manage db migrations in node.js project
Using Sequelize with node.js project is great, which provides all in one pack functionalities, including migrations, ORMs, etc. Sometimes, we only need migrations without ORMs. ex: using direct GraphQL libraries to make interface. db-migrate is database migration framework for node.js. Usage is simple, install via npm, similar to sequelize.
Graph Database
A graph database is essentially a collection of nodes and edges. Each node represents an entity (such as a person or business) and each edge represents a connection or relationship between two nodes. Every node in a graph database is defined by a unique identifier, a set of outgoing edges and/or incoming edges and a set …
FileMaker
FileMaker is a cross-platform relational database application. It integrates a database engine with a graphical user interface (GUI) and security features, allowing users to modify the database by dragging new elements into layouts, screens, or forms. We can simply build the UI by drag & drop, and then integrate the UI with the database easily …
PostgREST – postgreSQL based RESTful API
PostgREST serves a fully RESTful API from any existing PostgreSQL database. It provides a cleaner, more standards-compliant, faster API than you are likely to write from scratch. Motivation Using PostgREST is an alternative to manual CRUD programming. Custom API servers suffer problems. Writing business logic often duplicates, ignores or hobbles database structure. Object-relational mapping is …
Trigger in mySql
A trigger is a named database object that is associated with a table, and that activates when a particular event occurs for the table. Some uses for triggers are to perform checks of values to be inserted into a table or to perform calculations on values involved in an update. A trigger is defined to …
Improve querying speed in MongoDB
DB query speed is slowed down mainly when converting fetched data to MongoDB model format.For example we fetch JSON format data from db and convert it to MongoDB model format by embedding model methods.In order to avoid this and improve querying speed we can use lean function.The format is model.find({…}).lean(), then the result is retrieved …
SQL query performance enhancement
We know that model querying take more time than raw sql querying. Here is some practice with sample test.In sails.js project, we use waterline ORM by default. It’s Node.js ORM but we can bind SQL dbs like MySQL, PostgreSQL. When we tried to execute query using model, it took around 2 seconds to retrieve around …