def _set_table(self, schema, **kwargs):
query_str = []<EOL>query_str.append("<STR_LIT>".format(self._normalize_table_name(schema)))<EOL>query_fields = []<EOL>for field_name, field in schema.fields.items():<EOL><INDENT>query_fields.append('<STR_LIT>'.format(self.get_field_SQL(field_name, field)))<EOL><DEDENT>query_str.append("<STR_LIT>".format(os.linesep).join(query_fields))<EOL>query_str.append('<STR_LIT:)>')<EOL>query_str = os.linesep.join(query_str)<EOL>ret = self._query(query_str, ignore_result=True, **kwargs)<EOL>
http://sqlite.org/lang_createtable.html