Skip to main content

JD Bots

Home To ChatBots

Highlights

Latest posts

0 comments 0 reactions

How to Write a Number in YAML

Jagdish Kumawat

In YAML, a number is written as it is, without quotes: 3 or 12.5. In quotes, the same digits are text.

Programming
0 comments 0 reactions

How to Write a Comment in YAML

Jagdish Kumawat

In YAML, # starts a comment: everything after it on that line is a note that programs skip.

Programming
0 comments 0 reactions

How to Write a Comment in JavaScript

Jagdish Kumawat

A comment is a note in your code that JavaScript skips. Write // for the rest of a line, or /* and */ around several lines.

Programming
0 comments 0 reactions

How to Use Optional Chaining (?.) in JavaScript

Jagdish Kumawat

Optional chaining, ?., reads a property only when the value before it exists. When that value is null or undefined, you get undefined instead of an error.

Programming
0 comments 0 reactions

How to Set Up and Run the Failed Execution Log for n8n

Jagdish Kumawat

Take the Failed Execution Log for n8n from the zip to a published workflow that saves every failed run, with its error and a link, to a data table every hour.

Automation
0 comments 0 reactions

How to Save Custom Execution Data in n8n

Jagdish Kumawat

Label each n8n run with a value such as an order number, using $execution.customData.set() in a Code node, then find the run by that value in the Executions list.

Automation
0 comments 0 reactions

How to Retry a Failed Execution in n8n

Jagdish Kumawat

A failed n8n run keeps the data it received. Find it in the Executions list, fix whatever made it fail, and retry it from the node that failed.

Automation
0 comments 0 reactions

How to Pin Data in n8n

Jagdish Kumawat

Pin a node’s output in n8n so every test run reuses it: pin a form answer, edit the pinned data to try another case, and unpin it when the testing is done.

Automation
0 comments 0 reactions

How to Set the search_path in PostgreSQL

Jagdish Kumawat

Tell PostgreSQL which schemas to search for a table’s short name, for one session or for every new session in a database.

Database
0 comments 0 reactions

How to Write true and false in YAML

Jagdish Kumawat

YAML reads true and false, written without quotes, as booleans: values that are either on or off.

Programming
0 comments 0 reactions

How to Write a String in Double Quotes in YAML

Jagdish Kumawat

Put a YAML value in double quotes when it contains characters such as a colon and a space, so YAML reads it as plain text.

Programming
0 comments 0 reactions

How to Write a List of Objects in YAML

Jagdish Kumawat

In a YAML list of objects, a dash starts each object, and its other keys line up under its first key.

Programming
0 comments 0 reactions

How to Write a List in YAML

Jagdish Kumawat

Write a YAML list as a key followed by one item per line, each after a dash and a space.

Programming
0 comments 0 reactions

How to Nest Keys in YAML with Indentation

Jagdish Kumawat

Indent keys under a parent key to nest them in YAML. Use spaces, and give every child of the same parent the same indent.

Programming
0 comments 0 reactions

How to Write a Key-Value Pair in YAML

Jagdish Kumawat

A YAML key-value pair is a key, a colon, a space and the value. One pair per line builds a whole YAML file.

Programming
0 comments 0 reactions

How to Create a Schema in PostgreSQL

Jagdish Kumawat

Create a schema in PostgreSQL, a folder for tables inside a database, and create and query a table in it.

Database
0 comments 0 reactions

How to Create a Table in pgAdmin 4

Jagdish Kumawat

Create a PostgreSQL table in pgAdmin 4’s Create Table dialog, with a screenshot of every step.

Database
0 comments 0 reactions

How to Drop a Table in PostgreSQL

Jagdish Kumawat

Delete a PostgreSQL table with DROP TABLE, and see what IF EXISTS and CASCADE do.

Database
0 comments 0 reactions

How to Rename a Table in PostgreSQL

Jagdish Kumawat

Give a PostgreSQL table a new name with ALTER TABLE RENAME TO, keeping all of its rows.

Database
0 comments 0 reactions

How to Drop a Column in PostgreSQL

Jagdish Kumawat

Remove a column and all its values from a PostgreSQL table with ALTER TABLE DROP COLUMN.

Database
0 comments 0 reactions

How to Rename a Column in PostgreSQL

Jagdish Kumawat

Rename a column in a PostgreSQL table with ALTER TABLE, keeping its type and every value in it.

Database
0 comments 0 reactions

How to Add a Column to a Table in PostgreSQL

Jagdish Kumawat

Add a column to an existing PostgreSQL table with ALTER TABLE, with or without a default for the rows already there.

Database
0 comments 0 reactions

How to Describe a Table in PostgreSQL

Jagdish Kumawat

See every column of a PostgreSQL table, with its type, whether it can be empty and its default, using psql’s describe command.

Database
0 comments 0 reactions

How to List Tables in PostgreSQL

Jagdish Kumawat

List the tables in a PostgreSQL database with one psql command, see their sizes, and use a SQL query in tools without it.

Database
0 comments 0 reactions

PostgreSQL Tutorial — Part 6: Create Tables

Jagdish Kumawat

Create the bookstore database’s first three tables with CREATE TABLE and identity IDs, then list them, describe one and see them in pgAdmin.

Database