Showing posts with the label arrays

[FIXED] Insert unique values from array of objects in postgres

Issue I have been trying to input an array of unique codes into postgres from an array of objects. …

[FIXED] Postgresql put strings inside quotes with array_to_string

Issue In select I have used array_to_string like this (example) array_to_string(array_agg(tag_nam…

[FIXED] Order by number of matches in array

Issue I'm trying to get a list of best matching items giving a list of tags with the data below…

[FIXED] PHP Multidimensional Array list a SQL database for easy handling in php

Issue Trying to make a multidimensional array using PHP and a database on SQL and to have each valu…

[FIXED] Retrieving JSON Array data from Oracle CLOB column

Issue I am having an issue getting data from a JSON array attribute inside some JSON data which is …

[FIXED] I need to append only those who has non null values in pyspark dataframe

Issue I am having the pyspark dataframe (df) having below sample table (table1): id, col1, col2…

[FIXED] Oracle DB select query returning the data in form of array instead of json array using nodejs

Issue My DB select result { "metaData": [ { "n…

[FIXED] Oracle.ORDS: How to return column as a JSON array?

Issue I have a master table and a detail table. I want to make a "GET" request to get som…

[FIXED] Create numpy array from Python list with operations

Issue I have data in a Python list that I'm pulling from a database (sqlite) in the following f…

[FIXED] how to compare array data with different row values in database

Issue I want to compare my array data with database data,actually I'll get array values from th…

[FIXED] Convert Json with array of arrays to columns in Sql server

Issue I have the json (example)

[FIXED] How to update every object element in mongodb

Issue My structure is something like this: { "_id": "13hu13o13uuo1", "p…

[FIXED] Mongoose - Push objects into nested array

Issue I am trying to push every object inside of an array into an array using Mongoose. This is an…

[FIXED] mongodb update nested array from a array

Issue I have a array in mongodb document. { _id: 1, jobs:[ { _id:1, time: "…

[FIXED] Insert into MySQL from array into two tables at once based on some conditions

Issue I have this array with data rows from an excel file used with SimpleXLSX in php check norefer…

[FIXED] Distance to Nearest 0 Value for every pixel in 2D Binary Array

Issue Given a 2D binary array (only 1s or 0s), for the pixels that have a value of 1, I want to fin…

[FIXED] Why I get only the last entrie of array with foreach loop

Issue I want to save Databaseentrise with the key "weekday, date" in an array with an arr…

[FIXED] Rearranging StrucType and nested array of struct

Issue I have a dataframe with the schema: root |-- col2: integer (nullable = true) |-- col1: int…

[FIXED] How would I join two tables in MySQL (many to one) and get a specific JSON output (as shown below)

Issue How would I join two tables in MySQL (many to one) and get a specific JSON output (as shown b…

[FIXED] How to store SQL query result into variable to include in a later SELECT statement

Issue I have this SQL query: SELECT MAX(a.date), d.group, c.name, b.name_id FROM table1 a LEFT JO…