# How to specify schema?

21 views

### Steve Jackson

Jan 8, 2015, 12:40:28 PM1/8/15

Thanks for the work on this - potentially a really nice tool.

Is there a way to use a schema with the table name?

my_table = Table('myshema.mytable') doesn't work because the results produce a quote (DELETE FROM "myschema.mytable") instead of ("DELETE FROM "myshema"."mytable")

### Cédric Krier

Jan 8, 2015, 1:05:02 PM1/8/15
Indeed schema are not yet supported but it should be easy to do.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

### Cédric Krier

Jan 8, 2015, 1:45:03 PM1/8/15
On 08 Jan 19:04, Cédric Krier wrote:
> On 08 Jan 09:40, Steve Jackson wrote:
> >
> > Thanks for the work on this - potentially a really nice tool.
> >
> > Is there a way to use a schema with the table name?
> >
> > my_table = Table('myshema.mytable') doesn't work because the results
> > produce a quote (DELETE FROM "myschema.mytable") instead of ("DELETE FROM
> > "myshema"."mytable")
>
> Indeed schema are not yet supported but it should be easy to do.

You can check this review: