Skip to content

making sure query isn't null on getRows - #18

Merged
theoephraim merged 2 commits into
theoephraim:masterfrom
iros:master
Mar 28, 2015
Merged

making sure query isn't null on getRows#18
theoephraim merged 2 commits into
theoephraim:masterfrom
iros:master

Conversation

@iros

@iros iros commented Nov 10, 2014

Copy link
Copy Markdown
Contributor

Fixing issue #15.

@theoephraim

Copy link
Copy Markdown
Owner

I noticed this the other day. Thanks for the fix!
What is the return empty option for?

@iros

iros commented Nov 11, 2014

Copy link
Copy Markdown
Contributor Author

Ah! So, if you request a cell that does not have content, google will actually not return any cells to you, which would cause getCells to return nothing as well. If you're retrieving cells to be able to write into them, then you want to get those empty cells back. Setting returnEmpty to true will let you do that.

@iros

iros commented Nov 11, 2014

Copy link
Copy Markdown
Contributor Author

Also, sorry for clobbering both into the same PR, I didn't mean to, but I am building an app a bit under the gun and so having to rely on my fork until these things are in =).

theoephraim added a commit that referenced this pull request Mar 28, 2015
making sure query isn't null on getRows
@theoephraim
theoephraim merged commit 616cf30 into theoephraim:master Mar 28, 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

Successfully merging this pull request may close these issues.

2 participants