浏览代码

allow spod_shard

Nicolas Cannasse 15 年之前
父节点
当前提交
e86658308b
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      std/neko/db/Manager.hx

+ 8 - 0
std/neko/db/Manager.hx

@@ -24,6 +24,12 @@
  */
 package neko.db;
 
+#if spod_shard
+
+typedef Manager<T : Object> = mt.db.ShardManager<T>;
+
+#else
+
 import Reflect;
 import neko.db.Connection;
 
@@ -536,3 +542,5 @@ class Manager<T : Object> {
 	}
 
 }
+
+#end