Skip to main content

Posts

Showing posts from March, 2021

Selenium VS Puppeteer

I felt this blog has neatly explained the difference between selenium and puppeteer and which to pick at which instances and so on. https://blog.testproject.io/2020/02/20/selenium-vs-puppeteer-when-to-choose-what/   https://dev.to/endtest/puppeteer-vs-selenium-1938

All about React, JavaScript, Mongo and Jenkins

Hi All, This site was developed by one of my co-worker Krishnakanth Kondoju  and I found this site is very helpful for the one who is interested to learn more about ReactJs, JavaScript and so on as point of developer and sharing it with you all. I would like to thank him for letting me post is his site in my blog and helping other. https://ui-webkit.netlify.app/docs/

SQL real-time interview Queries along with answers sources

 Hi All,  Today I was inspired by few sites where I saw few SQL queries that are been asked in interviews a lot and wanted to share with you all. So, that everyone can benefit of it. https://www.techbeamers.com/sql-query-questions-answers-for-practice/  https://www.complexsql.com/real-time-scenarios-in-sql-queries/   https://www.complexsql.com/complex-sql-queries-examples-with-answers/complex-sql-for-interviews/  https://www.interviewbit.com/sql-interview-questions/ https://www.softwaretestingmaterial.com/sql-interview-questions/

NoSQL Document Database Queries

  -           To check the current database list cmd> show dbs; -           To drop database cmd> db.dropdatabase( ); -           To create collection cmd> db.createCollection(“collection name”); or Use <collection name> -           To insert a document into the collection cmd> db.collectionname.insert([{}]); //insert many documents or one document           db.collectionname.insertOne({}); //inserts one document           db.collectionname.insertMany([{},{}]); //insert many documents -           To Print data in Json format cmd> db.collectionname.find( ).forEach(printjson); -           Basic Find command return entire collection data cmd> db.collectionname.find({} ) -         Search for a specific record and output should be in json format cmd> db.collectionname.find({“fieldname”: value}).forEach(printjson)   output will be: { “id”: ObjectId(“5b75cb657cb6057d416abef67”), “employeeid”:1, “emloyeename”: ”User” }

NoSQL- Document database

1)    What is Document Database? Built around JSON-like documents, document databases are both natural and flexible for developers to work with. They promise higher developer productivity, and faster evolution with application needs. As a class of non-relational, sometimes called NoSQL database, the document data model has become the most popular alternative to tabular, relational databases.   2)    What makes document databases different from relational databases? 1. Intuitive Data Model: Faster and Easier for Developers Documents map to the objects in your code, so they are much more natural to work with. There is no need to decompose data across tables, run expensive JOINs, or integrate a separate ORM layer. Data that is accessed together is stored together, so you have less code to write and your users get higher performance. 2. Flexible Schema: Dynamically Adapt to Change A document’s schema is dynamic and self-describing, so you don’t need to first pre-define it in th

All about NoSQL

1)    What is NoSql? Ans: It is a non-relational database; some say the term “NoSQL” stands for “non-SQL” while others say it stands for “not only SQL.” Either way, most agree that NoSQL databases are databases that store data in a format other than relational tables. NoSQL databases are purpose built for specific data models and have flexible schemas for building modern applications. NoSQL databases are widely recognized for their ease of development, functionality, and performance at scale.   2)    How Does a NoSQL (nonrelational) Database Work? Ans: NoSQL databases use a variety of data models for accessing and managing data. These types of databases are optimized specifically for applications that require large data volume, low latency, and flexible data models, which are achieved by relaxing some of the data consistency restrictions of other databases.   Consider the example of modeling the schema for a simple book database:   In a relational database, a book reco