Re: EDBI Returns Value when Value Should Not Be Returned

new topic     » goto parent     » topic index » view thread      » older message » newer message

Yeah, that isn't very intuitive. I'll ponder what to do about that.

As for the detection of an existing record or not, right now you can do:

   name = "TESTING"  
   res = edbi:query_object( "select count(*) from tilesets where tileset_name = %s", {name} ) 

Jeremy

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu