Query

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Query

Swati Lodha
Hello

In the DB, there is ImageRelations table with three fields: subject, object and type.

The type refers to one of three Undefined/ Derived From/ Grouped ?

Could you tell me about other two? 

Regards

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query

Gilles Caulier-4
Do you take a look in DBSCHEMA.ODS document in core/project/documents, which define database tables and structures ?

It must be detailled. If not, Marcel can explain better than me.

Note : I recommend to maintain and fix this document, following all missing information not registered in and that you have discovered while your project. This document is very important for the future.

For ex, the tables of Face database are not registered in this document. The details of this tables are defined here :


Gilles Caulier

2016-05-31 19:38 GMT+02:00 Swati Lodha <[hidden email]>:
Hello

In the DB, there is ImageRelations table with three fields: subject, object and type.

The type refers to one of three Undefined/ Derived From/ Grouped ?

Could you tell me about other two? 

Regards

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel



_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query

Swati Lodha


On Mon, Aug 1, 2016 at 1:27 PM, Gilles Caulier <[hidden email]> wrote:
Do you take a look in DBSCHEMA.ODS document in core/project/documents, which define database tables and structures ?

It must be detailled. If not, Marcel can explain better than me.

Yes, I did look there. No information regarding ImageRelations table is present.

Note : I recommend to maintain and fix this document, following all missing information not registered in and that you have discovered while your project. This document is very important for the future.

For ex, the tables of Face database are not registered in this document. The details of this tables are defined here :


Okay. I'll try to add all possible information in this file.

Thank you.
--
Swati Lodha

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query

Marcel Wiesweg
In reply to this post by Swati Lodha
You are right.
The databaseconstants.h file is sort of part of the schema definition. All
enums and constants there are compulsory and exclusive.

Marcel



> Hello
>
> In the DB, there is ImageRelations table with three fields: subject, object
> and type.
>
> The type refers to one of three Undefined/ Derived From/ Grouped ?
>
> Could you tell me about other two?
>
> Regards
> ᐧ

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query

Swati Lodha
The databaseconstants.h file? 
You mean the coredbconstant.h file in core/libs/database/coredb ?

On Tue, Aug 2, 2016 at 12:42 AM, Marcel Wiesweg <[hidden email]> wrote:
You are right.
The databaseconstants.h file is sort of part of the schema definition. All
enums and constants there are compulsory and exclusive.

Marcel



> Hello
>
> In the DB, there is ImageRelations table with three fields: subject, object
> and type.
>
> The type refers to one of three Undefined/ Derived From/ Grouped ?
>
> Could you tell me about other two?
>
> Regards
> ᐧ

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel



--
Swati Lodha

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Query

Marcel Wiesweg
Yes. A few years ago, this was databasecontants.h ;-)


> The databaseconstants.h file?
> You mean the coredbconstant.h file in core/libs/database/coredb ?
> ᐧ
>
> On Tue, Aug 2, 2016 at 12:42 AM, Marcel Wiesweg <[hidden email]>
>
> wrote:
> > You are right.
> > The databaseconstants.h file is sort of part of the schema definition. All
> > enums and constants there are compulsory and exclusive.
> >
> > Marcel
> >
> > > Hello
> > >
> > > In the DB, there is ImageRelations table with three fields: subject,
> >
> > object
> >
> > > and type.
> > >
> > > The type refers to one of three Undefined/ Derived From/ Grouped ?
> > >
> > > Could you tell me about other two?
> > >
> > > Regards
> > > ᐧ
> >
> > _______________________________________________
> > Digikam-devel mailing list
> > [hidden email]
> > https://mail.kde.org/mailman/listinfo/digikam-devel

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel