query_serialize

@accepts(RB.RhythmDBQuery, libxml2.NodePtr)
@returns(none)
def query_serialize(query, parent)

Converts @query into XML form as a child of @parent. It can be converted back into a query by passing @parent to @rhythmdb_query_deserialize.

query :

query to serialize

parent :

XML node to attach the query to