skip to Main Content

Unable to connect to route with express js – Javascript

Trying to connect the API through Route is not responding , Getting the status error: "not connected" restaurants.route.js Integrated The Route Here import express from "express" const router = express.Router() router.route('/api/v1/restaurants').get((req,res) => res.send("helloworld")) export default router index.js Connect to MongoDB.…

VIEW QUESTION

Get Length of agtype List/ Array – Postgresql

I have created this vertex: test=# SELECT * FROM cypher('graph', $$ CREATE (s:student{name:"Muneeb", courses: ["OOP", "DS", "Programming", "Android"]}) RETURN s $$) as (student agtype); ---------------------------------------------------------------------------------------- student ---------------------------------------------------------------------------------------- {"id": 3377699720527873, "label": "student", "properties": {"name": "Muneeb", "courses": ["OOP", "DS", "Programming", "Android"]}}::vertex (1…

VIEW QUESTION
Back To Top
Search