Added filter-select-list (for clsql-helper:recency-mixin) as an
[clsql.git] / sql / generics.lisp
index 748cbd90f97c717c8c20039c1cf688c900cd9b27..c406a2b31de79224b941b89fd463f380f6fd7898 100644 (file)
@@ -193,3 +193,14 @@ the arguments EXPR and DATABASE."))
 
 (defgeneric database-constraint-statement  (constraints database)
   )
+
+(defgeneric database-translate-constraint (constraint database)
+  (:documentation "Given a column constraint returns its
+database-specific name. For example, auto-increment constraints can
+have different names in different database engines."))
+
+(defgeneric filter-select-list ( view-class clsql-sys::select-list database)
+  (:documentation
+   "Gives fine grained control over sql to be executed and mapped to slots
+    called with a dummy instance (so that class precedence can be used)")
+  )