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

Simple question #39

Open
catware opened this issue May 31, 2016 · 1 comment
Open

Simple question #39

catware opened this issue May 31, 2016 · 1 comment

Comments

@catware
Copy link

catware commented May 31, 2016

hello @perak. I'm trying to use postgresql in the backend (because all the bussines rules are there), and replace the Mongo's newId by reading in a pg sequence an int value, but "example-invoices" I must retain the invoices id due to link with invoice_item. how do you think you could do that?
thanks in advance!

@perak
Copy link
Owner

perak commented May 31, 2016

@catware I didn't play with postgresql in combination with meteor, so I cannot help a lot. Maybe you should write some id (not primary key) amd read inserted record searching that key - then you'll get primary key generated by postgres...

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

2 participants