anchor.diff:  	cmd(P,Bin,actordb_sql:parse(Bin)).
   cmd(P,Bin,Tuple) ->
   	case Tuple of
  -		% Let actordb deal with it, unless it is config db
  -		{fail,_} when P#dp.curdb /= config andalso (P#dp.wait orelse P#dp.curdb == schema)  ->
  -			append(P,Bin);
  -		{fail,_} ->
  -			print(P,"Unrecognized command.");
  +		{use,<<"c">>} ->
  +			cmd(P,<<>>,{use,<<"config">>});
  +		{use,<<"s">>} ->
  +			cmd(P,<<>>,{use,<<"schema">>});
  +		{use,<<"a">>} ->
  +			cmd(P,<<>>,{use,<<"actordb">>});
  +		{use,<<"C">>} ->
  +			cmd(P,<<>>,{use,<<"config">>});
  +		{use,<<"S">>} ->
  +			cmd(P,<<>>,{use,<<"schema">>});
  +		{use,<<"A">>} ->
  +			cmd(P,<<>>,{use,<<"actordb">>});
   		{use,Name} ->
   			case string:to_lower(binary_to_list(Name)) of
   				"actordb" ->
  
positive.code: 				_ ->
  					print(P,"Invalid db")
  			end;
  		R when element(1,R) == show ->
  			cmd_show(P,R);
  		{actor,Type,SubType} ->
  			cmd_actor(P,{actor,Type,SubType},Bin);
  		print ->
  			print(P,io_lib:fwrite("~s",[butil:iolist_join(lists:reverse(P#dp.buffer),"\n")]));
  		rollback ->
  			change_prompt(P#dp{buffer = []});
  		commit when P#dp.curdb == schema ->
  			send_schema_query(change_prompt(P#dp{buffer = []}),lists:reverse(P#dp.buffer));
  		commit when P#dp.curdb /= actordb ->
  
negative.code: 			send_query(change_prompt(P#dp{buffer = []}),lists:reverse(P#dp.buffer));
  		{commit,B} ->
  			cmd(cmd(P,<<>>,commit),B);
  		_ when P#dp.curdb == actordb ->
  			append(P,Bin);
  		% Let actordb deal with it, unless it is config db
  		{fail,_} when P#dp.curdb /= config andalso (P#dp.wait orelse P#dp.curdb == schema)  ->
  			append(P,Bin);
  		{fail,_} ->
  			print(P,"Unrecognized command.");
  		R when element(1,R) == show ->
  			cmd_show(P,R);
  		{actor,Type,SubType} ->
  			cmd_actor(P,{actor,Type,SubType},Bin);
  		% create_table ->
  		% 	change_prompt(cmd_create(P,Bin));
  		R when element(1,R) == select ->
  