[odb-users] Creating native mysql views

Vassilios Kountouriotis b.kountouriotis at gmail.com
Thu Aug 31 12:23:14 EDT 2017


Yes, that was what I imagined, thank you very much for clarifying it!

On Wed, Aug 30, 2017 at 10:03 PM, Boris Kolpackov
<boris at codesynthesis.com> wrote:
> Vassilios Kountouriotis <b.kountouriotis at gmail.com> writes:
>
>> Unfortunately, I cannot find how to instruct ODB to actually create a
>> view object on the server, i.e. issue a "CREATE VIEW AS SELECT ......"
>> command.
>
> You don't actually need to create a database view in order to use
> a SELECT statement in an ODB view. So the only plausible situation
> where you would want to use database views is if you already have
> them defined.
>
> If you still want to create database views for some reason, then you
> will have to issue the necessary CREATE VIEW statements manually
> during schema creation. The schema/custom example shows how to do
> that.
>
> Boris



-- 
Vassilios Kountouriotis



More information about the odb-users mailing list