Caching in Node.js with Redis: A Beginner’s Guide

|
| By Sahil Kumar

Caching is a technique to store frequently used data in a temporary storage so that future requests for that data are faster. In Node.js applications, caching can help improve performance and reduce the load on your database. One popular tool

Moodle | New Database table not getting created

| By Webner

In Moodle, we were creating a new table for our custom plugin in db/install.xml file. Install.xml file : <TABLES> <TABLE NAME=”test_student” COMMENT=”Student details.”> <FIELDS> <FIELD NAME=”id” TYPE=”int” LENGTH=”10″ NOTNULL=”true” SEQUENCE=”true”/> <FIELD NAME=”user_name” TYPE=”text” NOTNULL=”true”  SEQUENCE=”false”/> <FIELD NAME=”userid” TYPE=”int” LENGTH=”10″ NOTNULL=”true”