Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Adding simple sqlite3 options for dbconsole script

#607

This is a very simple update to the dbconsole script that allows you to start sqlite3 in a specific mode and/or with headers enabled.

Reported by Bryan Ray · July 12th, 2008 @ 09:38 PM

State: resolved
Milestone: none
Assigned to: Pratik Pratik
Importance: none

Activity

  1. Steve Purcell
    Steve Purcell

    Perhaps more useful to the wider community would be a patch that allows arbitrary args to be passed through to the underlying DB console program, e.g.

    dbconsole -p --args="--mode=list"

    Or even take the options from an environment variable for maximum convenience:

    export DBCONSOLE_SQLITE3="--mode=list" dbconsole -p

    No personal need for this, so I'm just sharing some thoughts.

    September 27th, 2008 @ 09:17 AM

  2. Pratik
    Pratik
    • Milestone cleared.
    • Assigned user set to Pratik

    January 18th, 2009 @ 05:46 AM

  3. Repository
    Repository
    • State changed from new to resolved

    (from [f725b1971072a2203d6d433149730289cbb80128]) Added options to script/dbconsole to sqlite3 console in various different modes. [#607 Adding simple sqlite3 options for dbconsole script state:resolved]

    Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

    January 28th, 2009 @ 08:01 PM