Skip to content
#

postgres

postgresql logo

PostgreSQL is a database management system that is object-relational. PostgreSQL originated from the Ingres project at the University of California, Berkeley.

Here are 3,378 public repositories matching this topic...

graphql-engine
kreempuff
kreempuff commented Oct 10, 2020

Whenever I try to issue a command using hasura seeds apply -f <FILEPATH>, the command adds the seeds prefix to the path and errors

I would expect it to use the relative file path as given so I can tab complete specific seed files.

Ex:

hasura seeds apply --file seeds/1602160517233_resource.sql
FATA[0000] error opening file: open <REDACTED>/seeds/seeds/1602160517233_resource.
zmras
zmras commented May 15, 2020

Hi! Let's assume I have the following data:

obj = {
  _id: 'someId',
  items: [
    { value: 'a', count: 5 },
    { value: 'b', count: 1 },
  ]
}

Please, I want to know how can I use obj.increment() to increment the count field of the first element in items?

I have tried obj.increment('items.0.count') but it doesn't work. I got the following error: Cannot read property '0'

paolodamico
paolodamico commented Oct 28, 2020

Is your feature request related to a problem?

#2068 introduces a description attribute to dashboard items. It'd be pretty cool if users can edit those descriptions whenever.

Describe the solution you'd like

Ideally the user could just click on the description and could edit in inline. We would have to show an "Add description" empty state for when there's no description.

Descr

DanCardin
DanCardin commented Sep 29, 2020

Full Error:

thread 'main' panicked at 'can call blocking only when running on the multi-threaded runtime', /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libstd/macros.rs:13:23

Minimal app:

use actix_web::{App, HttpServer};
use sqlx::sqlite::SqlitePool;

#[actix_web::main]
async fn main() -> std::io::Result<()> {
    SqlitePool::connect("sqlite://foo").await.unwrap();

Created by Michael Stonebraker

Released July 8, 1996

Repository
postgres/postgres
Website
www.postgresql.org
Wikipedia
Wikipedia
You can’t perform that action at this time.