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

make: pg_config: Not a directory make: *** No rule to make target 'installcheck' – Ubuntu

I installed postgres version 13 from source code using wget https://ftp.postgresql.org/pub/source/v13.5/postgresql-13.5.tar.gz && tar -xvf postgresql-13.5.tar.gz && rm -f postgresql-13.5.tar.gz ./configure --enable-debug --enable-cassert --prefix=$(pwd) CFLAGS="-ggdb -Og -fno-omit-frame-pointer" make install It installed sucessfully and I tried installing AGE using git clone https://github.com/apache/age.git…

VIEW QUESTION
Back To Top
Search