[Qt-qml] QtJsonDb QML API review
denis.dzyubenko at nokia.com
denis.dzyubenko at nokia.com
Mon Nov 21 10:08:20 CET 2011
Hi,
On Nov 20, 2011, at 9:32 PM, ext Ville M. Vainio wrote:
> On Wed, Nov 16, 2011 at 2:33 PM, <denis.dzyubenko at nokia.com> wrote:
>
>> Here in QtJsonDb project we want to improve our existing QML api and hence ask for a review of our api proposal.
>
> Thoughts:
>
> - Ability to batch Create's could turn out to be handy for situations
> where you dump large amounts of data to the database, and want optimal
> performance
That functionality is already there, but indeed we need to make it more clear in the documentation.
create()/update()/etc functions can take either a single object or a list of objects.
>
> - Semantics should be explained in the docs a bit better, e.g. the
> meaning of _version.
That is true, however _version attribute and it's behavior stays the same, we are not changing it just yet. But indeed, proper documentation covering most important basic parts would be great to have.
Denis.
More information about the Qt-qml
mailing list