CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

Author : Shijit

What is mongoose? Where we can use it?

mongoose is an Object Modeling library for mongoDB and node.js. It provides a straightforward, schema-based solution to model the application data and interact with mongoDB databases using JavaScript/TypeScript. It is specifically built for mongoDB (which is a NoSQL database). Key Features of mongoose Schemas: Define the structure of the documents (like tables in SQL, but […]

Python – Customize Truth Value testing

We have discussed Truth Value testing in our previous Articles “Python – Truth Value Testing” and “Python – Truth Value Testing for Class objects“. Through this article, we will discuss customizing Truth Value testing. We can customize Truth value testing by defining __bool__ and __len__ functions. Initially, Python verifies the definition of _bool_ function; if […]

Scroll to top