-
Notifications
You must be signed in to change notification settings - Fork 58
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
Please support binary #159
Comments
What is a graveters ? |
Oh wow am sorry I mean to say avatar.
What am trying to achieve with Php is how it is achieved here on a png file on
filesystem.
https://www.rethinkdb.com/api/python/binary/
Meanwhile thanks for the prompt response cos I was scared if people are
deserting rethinkdb (which I think, it's a thinking that came before it's
time)
…On Jan 30, 2018 11:55 AM, "ABRAHAM Morgan" ***@***.***> wrote:
What is a graveters ?
Perhaps you should use base64 to encode images before inserting them into
database.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#159 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGsC4-g6qpmeoxy8ZOG-Bv1fPrbUHbj3ks5tP0mYgaJpZM4RyoZK>
.
|
I'm still using it. Rdb is not dead. According to http://danielmewes.dnsalias.net/~daniel/php-rql-api/, you have the r\binary method that looks the same as what you have in the python API. |
Don't know if I am the only one not seeing binary in that long list of apis
.
The closest insert I saw was this
Example: Insert a document into the table posts.
r\table("posts")->insert(array(
'id' => 1,
'title' => "Lorem ipsum",
'content' => "Dolor sit amet"
))->run($conn)
And I am trying to figure out how to put a binary data in that query
…On Jan 30, 2018 1:54 PM, "ABRAHAM Morgan" ***@***.***> wrote:
I'm still using it. Rdb is not dead.
I pusheds a few PRs and I'm waiting them to be pushed to master.
According to http://danielmewes.dnsalias.net/~daniel/php-rql-api/, you
have the r\binary method that looks the same as what you have in the python
API.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#159 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGsC473QsOpdawZXx-jVtEBo79p-RICSks5tP2V3gaJpZM4RyoZK>
.
|
Replace your value with r\binary(file_get_contents('./myfile')) and that's it.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In frontend apps like Php , we deal with images and graverters so much. Please could you add an inserting and retrieving of a binary data like image or graverter .
The text was updated successfully, but these errors were encountered: