Author Topic: save blob data on column  (Read 2096 times)

mewbie

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 33
    • View Profile
save blob data on column
« on: January 19, 2018, 02:07:55 pm »
Hello,

I need to save data in mysql blob format and overall column def already set with GET method,
I don't know if I could save data with GET, so I need to send it using POST.

Could you give me any idea on how to send a column using POST and the other is using GET?
Thank you

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: save blob data on column
« Reply #1 on: January 19, 2018, 02:35:17 pm »
type: 'POST' is added to the $.ajax call

https://paramquery.com/pro/demos/editing_batch

mewbie

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: save blob data on column
« Reply #2 on: January 22, 2018, 05:50:32 pm »
Thank you, it works for POST,

but another thing, could you give example/idea of saving data/image to table with pqgrid?
I'm thinking about the column would store path information upon upload and can be clicked to be downloaded.