Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • E exposure-lib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Dynamic ExposureDynamic Exposure
  • Global Dynamic ExposureGlobal Dynamic Exposure
  • exposure-lib
  • Merge requests
  • !68

Resolve "Add function to insert assets, to group assert insertion"

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Laurens Oostwegel requested to merge 66-add-function-to-insert-assets-to-group-assert-insertion into master Nov 17, 2022
  • Overview 11
  • Commits 1
  • Pipelines 6
  • Changes 1

Two functions are added to exposure-lib: the insert_assets function in the AbstractExposure database, that handles the standard way of inserting assets (iterating over each asset and adding each with an insert statement). In the PostGISExposure database, the insert_assets function is overwritten to use the mogrify function provided by psycopg2, that inserts all assets at once.

Closes #66 (closed)

\approve @ds @tara @shinde

Edited Nov 18, 2022 by Laurens Oostwegel
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 66-add-function-to-insert-assets-to-group-assert-insertion