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

Queries need an extra space #22

Closed
camikazegreen opened this issue Oct 5, 2015 · 0 comments
Closed

Queries need an extra space #22

camikazegreen opened this issue Oct 5, 2015 · 0 comments

Comments

@camikazegreen
Copy link

When I tried to do a query to search the vendors, it wouldn't work unless I added a leading space to my query.

My original code:

    qbo.findVendors("where GivenName = 'Alison'",function(err,vendors){
                console.log(vendors);
                return res.view('quickbooks/unauthorized',{vendors:vendors})
            })

Sent this request:
query=select * from vendorwhere GivenName %3D %27Alison%27

I had to add a space to be beginning of my query to get it to work: " where GivenName = 'Alison'"

mcohen01 added a commit that referenced this issue Oct 8, 2015
@mcohen01 mcohen01 closed this as completed Oct 8, 2015
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