Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

returned row from insert into meta.view has a null pk_value #61

Open
erichanson opened this issue Sep 19, 2016 · 0 comments
Open

returned row from insert into meta.view has a null pk_value #61

erichanson opened this issue Sep 19, 2016 · 0 comments

Comments

@erichanson
Copy link
Member

erichanson commented Sep 19, 2016

From console:

endpoint.schema('meta').table('view').insert({ 
    name: 'zonker',
    schema_name: 'public',
    query: 'select 1' 
}).then(function(v) { console.log(v.id) });
Promise {[[PromiseStatus]]: "pending", [[PromiseValue]]: undefined}
VM12393:1 Object {pk_column_id: Object, pk_value: null}

Not sure at what level the error is happening, could be because meta.view is a view not a table? Or because id in this case is a complex type?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant