Hallo

I'm doing my first steps with Ruby and Sequel and would like know how to 
use a schema when connecting to the database.

My first steps are:

require 'sequel'require 'pg'

DB = Sequel.postgres(host: 'localhost,
                                 port: 1234,
                                 database: 'test',
                                 search_path: 'abc',
                                 user: 'postgres',
                                 password: 'xyz') 
 
table_01 = DB[:tab01]

But this does not work. When I look inside the SQL-statement generated by 
the sequel-library, the schema is missing.

 



-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to