[Monetdb-developers] pf:new-doc

Tinco Andringa mail at tinco.nl
Fri Feb 26 12:17:56 CET 2010


Hey,

Was this a silly suggestion, or are there simply no pathfinder/xquery
people reading this list? :)

Greetings,
Tinco

On Fri, Feb 19, 2010 at 21:46, Tinco Andringa <mail at tinco.nl> wrote:
> Hello MonetDB developers,
>
> In my quest to develop an object oriented interface to monetdb/xquery
> on ruby using datamapper, I've stumbled upon the following problem. It
> is at this moment impossible to add a document to monetdb that does
> not have a source outside monetdb. The only function to add documents
> to monetdb seems to be pf:add-doc, which takes an url parameter with a
> location of an xml document it should import. To fully abstract the
> database from the ruby application, it would be nice if the developers
> could add a new (empty) document to the database.
>
> Would it be a nice idea to have the following function:
>
> pf:new-doc("document_name.xml"[,
> "collection_name.xml"[,"<some><initial>content</initial></some>"]])
>
>
> It would make users of my api a little happier, and perhaps
> MonetDB/XQuery as a whole, a bit more normal ;)
>
> Kind regards,
> Tinco Andringa
>




More information about the developers-list mailing list