schema Questions

6

I'm trying to hash passwords in an app I'm building and they are hashing fine when I create a user by calling this function(coffeesctipt): UserSchema.pre 'save', (next) -> user = this hashPass...
Retarder asked 20/10, 2016 at 18:3

7

Solved

Input: The customer claims that the application (.NET) when querying for some data returns data different from when the customer looks into the data table directly. I understand there could be va...
Ison asked 18/6, 2009 at 16:26

3

I am creating passport authentication for node using mongoose. I don't have any collection called "users" in my database. But while creating new user using the schema like below var mongoose = req...
Jerricajerrie asked 20/8, 2014 at 12:53

4

I want to use a different schema to save Spring Batch tables. I can see that my new datasource in set in the JobRepositoryFactoryBean. But still the tables are been created in the other shcema wher...
Fulfill asked 31/10, 2017 at 15:56

7

intellij idea data sources doesn't see existing table in my mysql database, while Netbeans see it. i've created a table in the database. When i create connection in intellij idea data sources, it s...
Niersteiner asked 6/9, 2012 at 10:56

5

I am trying to use VS code editor for creating kubernetes yaml files, by some reason, vscode is not showing auto-complete commands or space in my yaml files even though I have installed Yaml Suppor...
Holbrook asked 17/8, 2021 at 2:55

6

Solved

I have a field where I want the value to either be optional OR have the field have a minimum length of 4. I've tried the following: export const SocialsSchema = z.object({ myField: z.optional(z.st...
Arthrospore asked 2/9, 2022 at 12:0

3

Solved

I have a PostgreSQL 9.1 database with 100 or so tables that were loaded into the 'public' schema. I would like to move those tables (but not all of the functions in 'public') to a 'data' schema. ...
Rehabilitate asked 18/4, 2012 at 22:5

16

Solved

What is the difference between a user and a schema in Oracle?
Reverso asked 18/5, 2009 at 23:11

6

Solved

I need to be able to query a PostgreSQL database to obtain information about the indexes present and their details. On SQL Server, I can do the following to get a list of all tables/indexes/column...
Tonytonya asked 9/11, 2010 at 21:38

8

I'm trying to use a procedure (no parameters) to drop all of the user-created database objects located within the schema from where the procedure is launched, but I'm really not sure on how to go a...
Willtrude asked 9/5, 2009 at 2:19

4

Similar question: Postgres birthdays selection We're designing a new feature: we'll be storing the month and day parts of people's birthdays, but not the year. So a user born on christmas will hav...
Mercantile asked 10/10, 2011 at 23:16

2

I am using nodejs, express framework and mysql for my database. I would like to know how can I replicate this mongoose code using mysql. I cannot find a way to write my sql schema in a nodejs file....
Lavonlavona asked 2/12, 2015 at 9:46

8

Solved

<?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http:...
Contuse asked 18/11, 2012 at 4:43

5

Solved

With SQL Server 2005 and 2008 is it possible to set the default schema from the connection string? It'd be a lot easier if we didn't have to manually set the schema with SQL code.
Barcroft asked 19/7, 2010 at 15:48

2

I'm using the zod library to validate a form in my Next.js application. I've defined a schema for a subscription form that should validate an email field. I want to display a custom error message -...
Dogtooth asked 16/9, 2023 at 13:39

6

How to import and export schema from Cassandra or Cassandra cqlsh prompt?
Sheila asked 8/5, 2013 at 12:24

3

type Test @model @key(fields: ["id", "createdAt"]) { id: ID! name: String createdAt: String! } This model created queries: getTest(createdAt: String!id: ID!): Test listTests( createdAt: Mo...
Consul asked 2/10, 2019 at 14:29

11

My computer broke down but fortunately I backed up the folder C:\Program Files\PostgreSQL. Now I'm working in a new computer and I would like to import the previous Postgres databases that are st...
Validity asked 23/1, 2013 at 17:57

7

Solved

import * as Yup from 'yup'; import User from '../models/User'; class UserController { async store(req, res) { const schema = Yup.object().shape({ name: Yup.string().required(), email: Yup.string...
Zagazig asked 18/5, 2020 at 4:2

3

Solved

I found this tool. CXSD On their documentation: cxsd is a streaming XSD parser and XML parser generator for Node.js and (optionally but highly recommended) TypeScript. This is exactly what I need, ...
Ironing asked 28/8, 2018 at 10:4

4

I am using New Schema Comparison to compare 2 Databases but this tools return " compare no differences detected " I am using VS 2019
Africah asked 16/11, 2019 at 11:55

5

Solved

I can take mongodb data backup but I am not sure about mongodb schama backup. Is there any way to take dump of MONGODB schema only not the data ?
Harlie asked 7/2, 2017 at 7:52

2

By default mongoose/mongo will populate a path using the _id field, and by it seems like there is no way to change the _id to something else. Here are my two models which are connected with one-to...
Greenhorn asked 7/4, 2020 at 20:42

15

Solved

I want to get the schema from the server. I can get all entities with the types but I'm unable to get the properties. Getting all types: query { __schema { queryType { fields { name type { ...
Mask asked 23/5, 2016 at 18:19

© 2022 - 2024 — McMap. All rights reserved.