Giter VIP home page Giter VIP logo

Comments (5)

NickGulajec avatar NickGulajec commented on July 4, 2024

Will fix right away

from capstone.

dryror avatar dryror commented on July 4, 2024

No rush, just wanted to identify it on here. Been doing lots of testing
this morning.

On Sat, May 24, 2014 at 11:08 AM, Nick Gulajec [email protected]:

Will fix right away


Reply to this email directly or view it on GitHubhttps://github.com//issues/39#issuecomment-44094922
.

from capstone.

NickGulajec avatar NickGulajec commented on July 4, 2024

I've moved the function over but it's grabbing the incorrect plotID. Stepping out for a few hours and will fix when I return.

from capstone.

dryror avatar dryror commented on July 4, 2024

You are probably trying to do it before the plot is added to the database.
(Just a guess, I haven't looked at your code).

Steps you'll want to take:

  1. user hits done - add the plot to the database
  2. get the plot id for the plot just added (can use the code that we've
    used to save the photos to do this)
  3. add all the observations associated to that plot id

On Sat, May 24, 2014 at 12:04 PM, Nick Gulajec [email protected]:

I've moved the function over but it's grabbing the incorrect plotID.
Stepping out for a few hours and will fix when I return.


Reply to this email directly or view it on GitHubhttps://github.com//issues/39#issuecomment-44096618
.

from capstone.

NickGulajec avatar NickGulajec commented on July 4, 2024

The trick to using "SELECT last_insert_rowid()" is that the database connection was being closed and reopen, reseting what this function would return. insertPreviousPlotRows() now takes the db variable as a parameter.

from capstone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.