Programming

How To Get Total Result Count in Laravel Eloquent — step-by-step Programming tutorial on Progressive Robot

How To Get Total Result Count in Laravel Eloquent

When working with database query results, it is often useful to obtain only the total number of rows in a result set, instead of pulling the full dataset content with a regular query. Eloquent offers a few different aggregate methods that return a scalar value instead of an Eloquent object, such as count(), max(), and sum(). In this part of the series, you’ll update the main application view to show the total number of links in each list, using the count() method.

Read more
Конвертация типов данных в Go — step-by-step Programming tutorial on Progressive Robot

Конвертация типов данных в Go

В Go типы данных используются для классификации одного конкретного типа данных, определяя значения, которые вы можете присвоить для этого типа, а также операции, которые вы можете с ними совершать. При программировании бывают случаи, когда вам требуется конвертировать значения…

Read more
OpenCSV CSVReader CSVWriter Example — step-by-step Programming tutorial on Progressive Robot

OpenCSV CSVReader CSVWriter Example

URL: https://www.progressiverobot.com/opencsv-csvreader-csvwriter-example/ OpenCSV is a lightweight java CSV parser. Today we will look into OpenCSV example for CSV parsing. OpenCSV ![OpenCSV, CSVReader, CSVWriter, OpenCSV Example](images/opencsv-csvreader-csvwriter-example-section-1.png) OpenCSV provides most of the basic features for CSV parsing. OpenCSV is more popular because we don't have any builtin CSV parser in java. Some of the important classes in […]

Read more
Min Heap Binary Tree — step-by-step Programming tutorial on Progressive Robot

Min Heap Binary Tree

URL: https://www.progressiverobot.com/min-heap-binary-tree/ A Min Heap Binary Tree is a Binary Tree where the root node has the minimum key in the tree. The above definition holds true for all sub-trees in the tree. This is called the Min Heap property. Almost every node other than the last two layers must have two children. That is, […]

Read more
Understanding Data Types in PHP — step-by-step Programming tutorial on Progressive Robot

Understanding Data Types in PHP

In PHP, as in all programming languages, data types are used to classify one particular type of data. This is important because the specific data type you use will determine what values you can assign to it and what you can do to it (including what operations you can perform on it). In this tutorial, we will go over the important data types native to PHP. This is not an exhaustive investigation of data types, but will help you become familiar with what options you have available to you in PHP.

Read more
How to Remove Array Elements in Java — step-by-step Programming tutorial on Progressive Robot

How to Remove Array Elements in Java

URL: https://www.progressiverobot.com/java-remove-array-elements/ Introduction In Java, arrays are a fundamental data structure that allows us to store a collection of elements of the same data type. When we declare an array, we specify its data type and size, which is used by the Java Virtual Machine (JVM) to allocate the necessary memory for the array elements. […]

Read more
JSP Interview Questions and Answers — step-by-step Programming tutorial on Progressive Robot

JSP Interview Questions and Answers

URL: https://www.progressiverobot.com/jsp-interview-questions-and-answers/ JSP interview questions are very important if you are going for a Java interview. JSP is an integral part of any Java EE web application and recently I have written a lot about different features in JSP. We started from the basics of JSP, JSP scripting and ended with JSP custom tags to […]

Read more
CHAT