
Search In
1) Create a "testDB" database.
use testDB
2) Create a collection name "users" and adding the value together using single command.
db.logins.insert({username:"neetu"})
or
First create a collection of name logins
Active records query interface provide us with some very nice features to perform calculations or mathematical operations to retrieve selected records on the basis of those mathematical calculations. Those methods are as follows:
Count
Count met
Hello Readers! As we all know a file is a collection of information which is stored on computer's disk and information can be saved to files and then later reused. But, what is the use of file handling why it is required?? Well, let's take an
You can use PHP to extract email addresses as an email scraper. There are a few methods to program a PHP web scraper depending on the source of the email address. Essentially, you can use PHP to scrape email addresses from webpages or scrape email ad
While working with disconnected approach you work with storing and retrieving data from buffers for select operation.
Adapter acts like a buffer where the data is contained .
But for reading that data you need to store it either in
With API becoming so popular these days thanks to SPA base applications, it was also required to keep these APIs secure. So the most popular of securing api's is token based authentication, whose flow is little bit like this:
1. In the browser
The automatic execution of stored programs when a specific event occurs are triggers. Triggers are database object binded to a table and are called implicitly. They find their usage while accessing and checking data before and after DDL and DML queri
Who is a Full Stack Developer?
Full-stack developers are knowledgeable in both front-end and back-end web development. They are familiar with the majority of programming languages. When developing a website or API application, always consider hiring
Devise gem is one of the highly recommended gem used in Ruby on Rails.
It has many features such as Email sending, locking User, Authenticating user and many more.
To install Devise gem, you need to specify it in your Gemfile
gem 'devise'
Simple Javascript Form Validation
Why we need javascript validation :
1: To validate user input on client side.
2: Force user to enter required data.
3: Remove dependency on server side language to validate data for primary validation (which
