Questions tagged [schema]
Schema means shape, or more generally, plan. It may be XML schema or Database schema.
schema
7,601
questions
0
votes
0
answers
19
views
Cannot populate through schemas properly
Listing schema :
const listingSchema = new Schema({
title : {
type :String,
required : true,
},
description : String,
image : {
type : String,
default :
...
0
votes
0
answers
17
views
Importing ldap data throws issue with memberof
I exported my openldap using slapconf -n -1 -l directory.ldif
When I import to my newer openldap using slapadd -n 1 -l directory.ldif I get the following error:
register_at: AttributeType "( 1.2....
-1
votes
0
answers
15
views
Xcode scheme issue
I've create new scheme for my project for DEV purposes to support dynamic hosting depends on prod/dev schemes. When I updating build configuration for -Dev scheme to Debug-DEV receiving an error like ...
0
votes
0
answers
17
views
How to create an SEO friendly page without any javascript rendering issue? [closed]
Is there any chance that for any technical reason with JavaScript Rendering can block any urls other than the home page fetching for any third-party audit tools? Something like, sitemapxml.org, schema....
-1
votes
0
answers
27
views
MissingSchemaError: Schema hasn't been registered for model "Product" in Next.js [closed]
I'm working on a Next.js project and encountering an issue when deploying my site. I'm using Mongoose for MongoDB interactions and I'm getting the following error:
MissingSchemaError: Schema hasn't ...
0
votes
1
answer
44
views
How to efficiently store and query data with key-value pair in AWS S3 and Athena?
I have a dataset stored in AWS S3 and query using AWS Athena. The data is currently structured in two columns in S3 as follows:
Dataset
Customer_ID | Products_csv
C1 | P1, P2, P3
C2 |...
0
votes
1
answer
58
views
Error: 1826 Duplicate foreign key constraint name 'id'
I've created a basic database structured as follows.
vehicle_makes (id, name, slug)
vehicle_models (id, name, slug, make_id)
vehicle_trims (id, name, slug, model_id)
When attempting to create the ...
0
votes
0
answers
37
views
want to create an archived section based on the expiry date
There are couple of listings and they have an end date set with them . I actually wanted to create a seperate route for the archived section, so basically whichever listing crosses the end date they ...
-1
votes
1
answer
34
views
I want to filter certain dates in MongoDB and React
In this code, I am helping a company with the filters and I specifically have a struggle filtering out by the date type. Here is the order Router for the local SAP orders and specifically look at the ...
0
votes
0
answers
25
views
Utilizing json if/then to require a parameter if not specified?
So, I've got a json that has a handful of initial values, but as a user story I need to allow adjustments per point/object rather than at the top.
{"properties":{
"p1":{},
&...
0
votes
0
answers
16
views
What Schema markup to use for a website for boat charter?
I am working on a yacht charter web sites. The site offers 7 days boat rentals (no skipper, just the boat itself). Each yacht has 7 to 12 beds and renters pay tourist tax on accommodation.
It's like ...
0
votes
0
answers
20
views
In Postgresql, how to reset all sequences in a schema so the current value of sequence will match the max values of the primary key
I am refreshing schema data in a Postgresql database. The best and easiest way to do it is dropping the schema and restore it from a backup from the source database. But in this case we are not ...
0
votes
0
answers
20
views
How Can I Load CSV File in PySpark by Matching Column Names with the Schema?
I am loading multiple CSV files using Python Spark. Below is the code:
spark.read.format("csv").option("header", 'true').schema(table_schema).load(file_path)
In this code, I am ...
0
votes
0
answers
16
views
How to write List<Object> in avro?
I have some problem. I need to create avro schema for Kafka. In one of my java class i have field with list of Object:
public class Model {
@XmlAnyElement(lax = true)
protected List<Object&...
0
votes
1
answer
34
views
Where do I define the Custom Input Schema in EventGrid?
When creating an Event Subscriptiion in an Azure Storage Account...
...there is an option for a Custom Input Schema.
.
Question is: Where do I define this custom schema?
Goal: When a blob is uploaded ...