comparison Framework/Plugins/IndexBackend.h @ 218:90eb271f85b2

comments
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 26 Mar 2021 18:06:46 +0100
parents c2e4a909de0e
children 73cc85f3d9c1
comparison
equal deleted inserted replaced
217:ee5858d438dc 218:90eb271f85b2
329 # endif 329 # endif
330 #endif 330 #endif
331 331
332 virtual bool HasCreateInstance() const ORTHANC_OVERRIDE 332 virtual bool HasCreateInstance() const ORTHANC_OVERRIDE
333 { 333 {
334 return false; // TODO - Shouldn't this be "true"? 334 // This extension is available in PostgreSQL and MySQL, but is
335 // emulated by "CreateInstanceGeneric()" in SQLite
336 return false;
335 } 337 }
336 338
337 #if ORTHANC_PLUGINS_HAS_DATABASE_CONSTRAINT == 1 339 #if ORTHANC_PLUGINS_HAS_DATABASE_CONSTRAINT == 1
338 virtual void CreateInstance(OrthancPluginCreateInstanceResult& result, 340 virtual void CreateInstance(OrthancPluginCreateInstanceResult& result,
339 const char* hashPatient, 341 const char* hashPatient,