I would use:

protoc --descriptor_set_out=foo.desc --include_imports foo.proto

to generate a description of the protocol in protobuf format.

Then I would transform every message type into a table.

If you want more information, email me at cms...@gmail.com

All the best,

Chris.

On Wednesday, 21 April 2010 19:53:03 UTC+1, ury wrote:
>
> Hi, 
>
> I wonder if someone has an idea for a generic way of storing protobuf 
> messages in an SQL database (not as a blob, but in a way the data can 
> be queried with SQL statements) and how to construct the protobuf 
> messages back from the SQL database. 
>
> Thank you 
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Protocol Buffers" group. 
> To post to this group, send email to protobuf@googlegroups.com. 
> To unsubscribe from this group, send email to 
> protobuf+unsubscr...@googlegroups.com. 
> For more options, visit this group at 
> http://groups.google.com/group/protobuf?hl=en. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/protobuf/-/i1ltQF6YWGIJ.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to