Skip to content
#

Database

A database is a structured set of data held in a computer, most often a server. Databases use a database management system (DBMS) that interacts with users, similar to a lookup table. Modern databases are designed to allow for creation, querying, updating, and administration of the data it holds.

Here are 340 public repositories matching this topic...

ozkanonur
ozkanonur commented Apr 13, 2020

Issue type:

[x] question
[ ] bug report
[ ] feature request
[x] documentation issue

Database system/driver:

[ ] cordova
[x] mongodb
[ ] mssql
[ ] mysql / mariadb
[ ] oracle
[ ] postgres
[ ] cockroachdb
[ ] sqlite
[ ] sqljs
[ ] react-native
[ ] expo

TypeORM version:

[x] latest
[ ] @next
[ ] 0.x.x (or put your version here)

mewcrazy
mewcrazy commented Dec 31, 2019

Hello,

I'm trying to delay the execution of my App until Firebase receives the Auth status before my "not logged in"-redirections take place. Afaik this is usually done with:

auth.onAuthStateChanged((user) => {
new Vue()
})

But in my current Vue setup my Vue instance get called in a total different way, which gives me a tough time.

`// we should return factory for SSR (runInNewCo

mikro-orm
Dschoordsch
Dschoordsch commented Apr 8, 2020

Describe the bug
Ids assigned to a collection via wrap(...).assign are not persisted.

Stack trace

...

To Reproduce
Steps to reproduce the behavior:

@Entity()
export class Book2 {
  @ManyToMany({ entity: () => BookTag2, cascade: [], fixedOrderColumn: 'order' })
  tags = new Collection<BookTag2>(this);
}
...
const id1 = 1; //id of existing tag
const book
michaelharrisonroth
michaelharrisonroth commented Jul 16, 2019

The Typescript example shows the following:

import { Nohm, NohmModel, TTypedDefinitions } from 'nohm';

// We're gonna assume the basics are clear and the connection is set up etc. - look at the ES6 example otherwise.
// This example highlights some of the typing capabilities in nohm.

interface IUserProperties {
  email: string;
  visits: number;
}

class UserModel ext
neumann-d
neumann-d commented May 22, 2019

When checking if a document exists in a collection, I use the function documentCollection.documentExists. For example:

const cities = db.collection("City")
const city_exists = await cities.documentExists("Country/1234")
console.log("city_exists = ", city_exists)

But instead of looking only in the specific "City" collection, it finds documents from other collections (like "Count

Wikipedia
Wikipedia
You can’t perform that action at this time.