Jump to content


Save and load SQLite Database to local storage

  • Please log in to reply
1 reply to this topic

#1 Jascha

  • Members
  • 21 posts

Posted 28 August 2017 - 03:33 PM

I want to use the SQLite Database (TSQLiteDatabase) and save and load it to the local storage (TW3LocalStorage).
Now the local storage works with strings, but the SQLite with Streams. How can I convert between string and stream?

Thank You

#2 Dennis07

  • Administrators
  • 24 posts
  • LocationBerlin, Germany
  • Enterprise Edition

Posted Today, 11:54 AM

Hey, sorry for the late response. I had plenty of stuff to do but I can tell you that the final version which will be released in a few weeks will include a new TStringStream class as you're possibly used from Delphi. Right now, all you can do is to use the System.Types.Convert.TDataType.StringToBytes and .BytesToString. ;)

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users