1 2 3 4 5 6 7 |
You'll need to use DB::raw(), perhaps something like Invite::where(DB::raw('BINARY `token`'), $token)->first(); or alternatively: Invite::whereRaw("BINARY `token`= ?",[$token])->first(); |
Category Postgresql
1 |
psql -f file_path "host=localhost port=5432 dbname=db_name user=db_user password=db_password" |
1 |
psql -h hostname.com -p 5432 -d database_name -U database_user -W -f this-db-dmp.sql |