viSci Posted July 30, 2013 Report Share Posted July 30, 2013 I guess the broader topic here is how to store objects or complex data structures in a database. I think it should be possible to build a cluster to SQLite API but now that we have the lineator I wonder if it is possible and makes more sense to build this as a plugin. Quote Link to comment
JackDunaway Posted July 30, 2013 Report Share Posted July 30, 2013 I guess the broader topic here is how to store objects or complex data structures in a database. The general term for this is "object relational mapping". Quote Link to comment
unicorn Posted November 15, 2013 Report Share Posted November 15, 2013 Some time ago I made a VI which does the job the other way. It creates clusters from database tables. Using these clusters you can read a line of a database table at once. But it does not create a conversion to different complex data structure. Anyway I think it is quite complicated to do the job automatically unless you have set of specifications. I think one would get into trouble if you want to create universal specification which are not too tight to ones current Project. So in my case I get only clusters with basic data types and the labels are given by the column names of the database tables. Quote Link to comment
Phillip Brooks Posted November 15, 2013 Report Share Posted November 15, 2013 I made something like this too; I posted it on the dark side... https://decibel.ni.com/content/docs/DOC-19512 Quote Link to comment
viSci Posted November 15, 2013 Author Report Share Posted November 15, 2013 Here is my take on converting Clusters to SQLite table records.... Cluster to SQLite Demo.zip Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.