Uploaded image for project: 'Science Database'
  1. Science Database
  2. SCIDB-80

Implement SQL sub-module

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Component/s: None
    • Labels:
      None

      Description

      • SQL sub-module
        This module is for throwing SQL and retrieving resultant records from the Postgres database.
        The usage of it will be something like:
        object_id, mag = hscdata.sql.asNumpy('select object_id, imag_kron  from s18a_wide.forced limit 10' )
        object_id._class_ => numpy.ndarray
        mag._class_ => numpy.ndarra

        Attachments

          Activity

            People

            • Assignee:
              michitaro michitaro
              Reporter:
              michitaro michitaro
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: